Exception: Hermann::Errors::GeneralError
- Inherits:
-
StandardError
- Object
- StandardError
- Hermann::Errors::GeneralError
- Defined in:
- lib/hermann/errors.rb
Direct Known Subclasses
ConfigurationError, ConnectivityError, InvalidOffsetError, NoBrokersError
Instance Attribute Summary collapse
-
#java_exception ⇒ Object
readonly
Returns the value of attribute java_exception.
Instance Method Summary collapse
-
#initialize(message = '', options = {}) ⇒ GeneralError
constructor
Initialize a connectivity error.
Constructor Details
#initialize(message = '', options = {}) ⇒ GeneralError
Initialize a connectivity error
13 14 15 16 |
# File 'lib/hermann/errors.rb', line 13 def initialize(='', ={}) super() @java_exception = [:java_exception] end |
Instance Attribute Details
#java_exception ⇒ Object (readonly)
Returns the value of attribute java_exception.
5 6 7 |
# File 'lib/hermann/errors.rb', line 5 def java_exception @java_exception end |