Exception: OMF::SFA::AM::Rest::UnsupportedBodyFormatException
- Inherits:
-
RackException
- Object
- Exception
- RackException
- OMF::SFA::AM::Rest::UnsupportedBodyFormatException
- Defined in:
- lib/omf-sfa/am/am-rest/rest_handler.rb
Instance Attribute Summary
Attributes inherited from RackException
Instance Method Summary collapse
-
#initialize(format = 'unknown') ⇒ UnsupportedBodyFormatException
constructor
A new instance of UnsupportedBodyFormatException.
Constructor Details
#initialize(format = 'unknown') ⇒ UnsupportedBodyFormatException
Returns a new instance of UnsupportedBodyFormatException.
41 42 43 |
# File 'lib/omf-sfa/am/am-rest/rest_handler.rb', line 41 def initialize(format = 'unknown') super 400, "Message body format '#{format}' is unsupported" end |