Exception: OAI::FormatException

Inherits:
Exception
  • Object
show all
Defined in:
lib/oai/exception.rb

Instance Attribute Summary

Attributes inherited from Exception

#code

Instance Method Summary collapse

Constructor Details

#initializeFormatException

Returns a new instance of FormatException.



33
34
35
36
37
# File 'lib/oai/exception.rb', line 33

def initialize()
  super('The metadata format identified by '\
    'the value given for the metadataPrefix argument is not supported '\
    'by the item or by the repository.', 'cannotDisseminateFormat')
end