Class RequestMethodNotSupportedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.odata2services.converter.RequestMethodNotSupportedException
All Implemented Interfaces:
Serializable

public class RequestMethodNotSupportedException extends RuntimeException
An exception that occurs when the incoming HttpServletRequest method is not supported by the ODataRequest.
See Also:
  • Constructor Details

    • RequestMethodNotSupportedException

      public RequestMethodNotSupportedException(String method, Throwable cause)
      Constructor to create RequestMethodNotSupportedException
      Parameters:
      method - HttpServletRequest method
      cause - internal exception that was thrown
  • Method Details

    • getMethod

      public String 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