Class ServiceUnavailableException

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

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

    • ServiceUnavailableException

      public ServiceUnavailableException​(String aMessage, String aErrorCode)
      Instantiates a new service unavailable exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • ServiceUnavailableException

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

      public ServiceUnavailableException​(String message, Throwable cause)
      Instantiates a new service unavailable exception.
      Parameters:
      message - the message
      cause - the cause
    • ServiceUnavailableException

      public ServiceUnavailableException​(String message)
      Instantiates a new service unavailable exception.
      Parameters:
      message - the message
    • ServiceUnavailableException

      public ServiceUnavailableException​(Throwable aCause, String aErrorCode)
      Instantiates a new service unavailable exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • ServiceUnavailableException

      public ServiceUnavailableException​(Throwable cause)
      Instantiates a new service unavailable exception.
      Parameters:
      cause - the cause