Exception: VBox::WebService::ConnectionError
- Defined in:
- lib/virtualbox/exceptions.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(endpoint, message) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
- #to_s ⇒ Object
Constructor Details
#initialize(endpoint, message) ⇒ ConnectionError
Returns a new instance of ConnectionError.
6 7 8 9 |
# File 'lib/virtualbox/exceptions.rb', line 6 def initialize(endpoint, ) @endpoint = endpoint = end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/virtualbox/exceptions.rb', line 11 def to_s "Could not connect to VirtualBox SOAP Web Service at #{@endpoint}. #{@message}" end |