Exception: ActiveFedora::ActiveObjectNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ActiveFedora::ActiveObjectNotFoundError
- Defined in:
- lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb
Instance Attribute Summary collapse
-
#base_exception ⇒ Object
readonly
Returns the value of attribute base_exception.
Instance Method Summary collapse
-
#initialize(exception, *args) ⇒ ActiveObjectNotFoundError
constructor
A new instance of ActiveObjectNotFoundError.
Constructor Details
#initialize(exception, *args) ⇒ ActiveObjectNotFoundError
Returns a new instance of ActiveObjectNotFoundError.
66 67 68 69 |
# File 'lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb', line 66 def initialize(exception, *args) @base_exception = exception super("Unable to find via #{args.inspect} in fedora.") end |
Instance Attribute Details
#base_exception ⇒ Object (readonly)
Returns the value of attribute base_exception.
65 66 67 |
# File 'lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb', line 65 def base_exception @base_exception end |