Class BadInvocationRuntimeException

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

public class BadInvocationRuntimeException extends HttpResponseRuntimeException
Proprietary code and only used inside a REFCODES.ORG client not trespassing any networking border (the error is generated by the client for the client locally). This code is used when a client signals a bad invocation of the client by business logic, e.g. by providing a malformed URL.
See Also:
  • Constructor Details

    • BadInvocationRuntimeException

      public BadInvocationRuntimeException(String aMessage, String aErrorCode)
      Instantiates a new bad response runtime exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • BadInvocationRuntimeException

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

      public BadInvocationRuntimeException(String aMessage, Throwable aCause)
      Instantiates a new bad response runtime exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • BadInvocationRuntimeException

      public BadInvocationRuntimeException(String aMessage)
      Instantiates a new bad response runtime exception.
      Parameters:
      aMessage - The aMessage describing this exception.
    • BadInvocationRuntimeException

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

      public BadInvocationRuntimeException(Throwable aCause)
      Instantiates a new bad response runtime exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.