Exception: RightScale::Exceptions::NestedException
- Defined in:
- lib/right_agent/exceptions.rb
Overview
Base exception for use in nesting exceptions
Direct Known Subclasses
BalancedHttpClient::NotResponding, Application, ConnectivityFailure, InternalServerError, QueryFailure, RetryableError, Unauthorized
Instance Attribute Summary collapse
-
#nested_exception ⇒ Object
readonly
Returns the value of attribute nested_exception.
Instance Method Summary collapse
-
#initialize(message, nested_exception = nil) ⇒ NestedException
constructor
Exception message and optional nested exception or string.
Constructor Details
#initialize(message, nested_exception = nil) ⇒ NestedException
Exception message and optional nested exception or string
32 33 34 35 |
# File 'lib/right_agent/exceptions.rb', line 32 def initialize(, nested_exception = nil) @nested_exception = nested_exception super() end |
Instance Attribute Details
#nested_exception ⇒ Object (readonly)
Returns the value of attribute nested_exception.
29 30 31 |
# File 'lib/right_agent/exceptions.rb', line 29 def nested_exception @nested_exception end |