Class MethodFailureException

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

public class MethodFailureException
extends HttpStatusException
The Class MethodFailureException.
See Also:
Serialized Form
  • Constructor Details

    • MethodFailureException

      public MethodFailureException​(String aMessage, String aErrorCode)
      Instantiates a new method failure exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • MethodFailureException

      public MethodFailureException​(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new method failure exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • MethodFailureException

      public MethodFailureException​(String message, Throwable cause)
      Instantiates a new method failure exception.
      Parameters:
      message - the message
      cause - the cause
    • MethodFailureException

      public MethodFailureException​(String message)
      Instantiates a new method failure exception.
      Parameters:
      message - the message
    • MethodFailureException

      public MethodFailureException​(Throwable aCause, String aErrorCode)
      Instantiates a new method failure exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • MethodFailureException

      public MethodFailureException​(Throwable cause)
      Instantiates a new method failure exception.
      Parameters:
      cause - the cause