Exception: JSparrow::Connection::ClientInitializationError
- Inherits:
-
StandardError
- Object
- StandardError
- JSparrow::Connection::ClientInitializationError
- Defined in:
- lib/connection.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(properties, cause) ⇒ ClientInitializationError
constructor
A new instance of ClientInitializationError.
Constructor Details
#initialize(properties, cause) ⇒ ClientInitializationError
Returns a new instance of ClientInitializationError.
205 206 207 208 209 210 |
# File 'lib/connection.rb', line 205 def initialize(properties, cause) super("Could not open connection to server. Verify the properties's properties.") @properties = properties @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
203 204 205 |
# File 'lib/connection.rb', line 203 def cause @cause end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
203 204 205 |
# File 'lib/connection.rb', line 203 def properties @properties end |