Class BadInvocationRuntimeException

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

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 according 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 according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (RuntimeException) causing this exception.
      aErrorCode - The error code identifying this exception.
    • BadInvocationRuntimeException

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

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

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

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

      public BadInvocationRuntimeException(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.
    • BadInvocationRuntimeException

      public BadInvocationRuntimeException(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 (RuntimeException) causing this exception.
      aErrorCode - The error code identifying this exception.
    • BadInvocationRuntimeException

      public BadInvocationRuntimeException(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 (RuntimeException) causing this exception.
    • BadInvocationRuntimeException

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

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

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