Exception: Jolokia::RemoteError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Jolokia::RemoteError
- Defined in:
- lib/jolokia/remote_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#stacktrace ⇒ Object
readonly
Returns the value of attribute stacktrace.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message, stacktrace) ⇒ RemoteError
constructor
A new instance of RemoteError.
Constructor Details
#initialize(status, message, stacktrace) ⇒ RemoteError
Returns a new instance of RemoteError.
5 6 7 |
# File 'lib/jolokia/remote_error.rb', line 5 def initialize(status, , stacktrace) @status, @message, @stacktrace = status, , stacktrace end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/jolokia/remote_error.rb', line 3 def @message end |
#stacktrace ⇒ Object (readonly)
Returns the value of attribute stacktrace.
3 4 5 |
# File 'lib/jolokia/remote_error.rb', line 3 def stacktrace @stacktrace end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
3 4 5 |
# File 'lib/jolokia/remote_error.rb', line 3 def status @status end |