Class ODataMethodNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.olingo.odata2.api.exception.ODataException
-
- org.apache.olingo.odata2.api.exception.ODataMessageException
-
- org.apache.olingo.odata2.api.exception.ODataHttpException
-
- org.apache.olingo.odata2.api.exception.ODataMethodNotAllowedException
-
- All Implemented Interfaces:
Serializable
public class ODataMethodNotAllowedException extends ODataHttpException
Exceptions of this class will result in a HTTP status 405 (method not allowed).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static MessageReferenceDISPATCH-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
COMMON, httpStatus
-
Fields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference
-
-
Constructor Summary
Constructors Constructor Description ODataMethodNotAllowedException(MessageReference messageReference)ODataMethodNotAllowedException(MessageReference messageReference, String errorCode)ODataMethodNotAllowedException(MessageReference messageReference, Throwable cause)ODataMethodNotAllowedException(MessageReference messageReference, Throwable cause, String errorCode)
-
Method Summary
-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
getHttpStatus
-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
createMessageReference, getErrorCode, getMessage, getMessageReference
-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataException
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
DISPATCH
public static final MessageReference DISPATCH
-
-
Constructor Detail
-
ODataMethodNotAllowedException
public ODataMethodNotAllowedException(MessageReference messageReference)
-
ODataMethodNotAllowedException
public ODataMethodNotAllowedException(MessageReference messageReference, Throwable cause)
-
ODataMethodNotAllowedException
public ODataMethodNotAllowedException(MessageReference messageReference, String errorCode)
-
ODataMethodNotAllowedException
public ODataMethodNotAllowedException(MessageReference messageReference, Throwable cause, String errorCode)
-
-