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.
5 6 7 8 |
# File 'lib/virtualbox/exceptions.rb', line 5 def initialize(endpoint, ) @endpoint = endpoint @message = end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/virtualbox/exceptions.rb', line 10 def to_s "Could not connect to VirtualBox SOAP Web Service at #{@endpoint}. #{@message}" end |