Exception: ActiveFedora::ActiveObjectNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_exceptionObject (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