org.apache.olingo.odata2.api.exception
Class ODataMethodNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.olingo.odata2.api.exception.ODataException
              extended by org.apache.olingo.odata2.api.exception.ODataMessageException
                  extended by org.apache.olingo.odata2.api.exception.ODataHttpException
                      extended by 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
static MessageReference DISPATCH
           
 
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
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
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.