Class: CommonRepositoryModel::ObjectNotFoundError
- Inherits:
-
ActiveFedora::ObjectNotFoundError
- Object
- ActiveFedora::ObjectNotFoundError
- CommonRepositoryModel::ObjectNotFoundError
- Defined in:
- lib/common_repository_model/exceptions.rb
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(message, original_exception = nil) ⇒ ObjectNotFoundError
constructor
A new instance of ObjectNotFoundError.
Constructor Details
#initialize(message, original_exception = nil) ⇒ ObjectNotFoundError
Returns a new instance of ObjectNotFoundError.
5 6 7 8 |
# File 'lib/common_repository_model/exceptions.rb', line 5 def initialize(, original_exception = nil) super() @original_exception = original_exception || self end |
Instance Attribute Details
#original_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
4 5 6 |
# File 'lib/common_repository_model/exceptions.rb', line 4 def original_exception @original_exception end |