Class RequestMethodNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.odata2services.converter.RequestMethodNotSupportedException
- All Implemented Interfaces:
Serializable
An exception that occurs when the incoming HttpServletRequest method is not supported by the ODataRequest.
- See Also:
-
ODataHttpMethod- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionRequestMethodNotSupportedException(String method, Throwable cause) Constructor to create RequestMethodNotSupportedException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestMethodNotSupportedException
Constructor to create RequestMethodNotSupportedException- Parameters:
method-HttpServletRequestmethodcause- internal exception that was thrown
-
-
Method Details
-
getMethod
Retrieves the Http method that came in the HttpServletRequest that's not supported by an ODataRequest- Returns:
- Method name that's not supported by ODataRequest
-