Exception: JSparrow::Connection::ClientInitializationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#causeObject (readonly)

Returns the value of attribute cause.



203
204
205
# File 'lib/connection.rb', line 203

def cause
  @cause
end

#propertiesObject (readonly)

Returns the value of attribute properties.



203
204
205
# File 'lib/connection.rb', line 203

def properties
  @properties
end