org.odata4j.exceptions
Class MethodNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.odata4j.exceptions.ODataProducerException
                  extended by org.odata4j.exceptions.MethodNotAllowedException
All Implemented Interfaces:
Serializable

public class MethodNotAllowedException
extends ODataProducerException

See Also:
Serialized Form

Nested Class Summary
static class MethodNotAllowedException.Factory
           
 
Field Summary
static Response.StatusType METHOD_NOT_ALLOWED
           
 
Constructor Summary
MethodNotAllowedException()
           
MethodNotAllowedException(String message)
           
MethodNotAllowedException(String message, Throwable cause)
           
MethodNotAllowedException(Throwable cause)
           
 
Method Summary
 Response.StatusType getHttpStatus()
          Gets the HTTP status.
 
Methods inherited from class org.odata4j.exceptions.ODataProducerException
code, getOError, innerError, message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

METHOD_NOT_ALLOWED

public static final Response.StatusType METHOD_NOT_ALLOWED
Constructor Detail

MethodNotAllowedException

public MethodNotAllowedException()

MethodNotAllowedException

public MethodNotAllowedException(String message)

MethodNotAllowedException

public MethodNotAllowedException(String message,
                                 Throwable cause)

MethodNotAllowedException

public MethodNotAllowedException(Throwable cause)
Method Detail

getHttpStatus

public Response.StatusType getHttpStatus()
Description copied from class: ODataProducerException
Gets the HTTP status.

Specified by:
getHttpStatus in class ODataProducerException
Returns:
the HTTP status
See Also:
Response.Status


http://odata4j.org