Class MethodNotAllowedException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>, UrlAccessor

public class MethodNotAllowedException extends HttpStatusException
The Class MethodNotAllowedException.
See Also:
  • Constructor Details

    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Url aUrl, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Url aUrl, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Url aUrl, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Url aUrl)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(Url aUrl, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • MethodNotAllowedException

      public MethodNotAllowedException(Url aUrl, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.