Class ServiceUnavailableException

All Implemented Interfaces:
Serializable

public final class ServiceUnavailableException extends ServiceException
Class exception for situations where the server cannot handle the request (because it is overloaded or down for maintenance).

Generally, this is a temporary state.

This reproduce HTTP code 503.

Author:
ActiveViam
See Also:
  • Field Details

    • CODE

      public static final int CODE
      The code that uniquely identifies this exception (inspired from HTTP codes).
      See Also:
  • Constructor Details

    • ServiceUnavailableException

      public ServiceUnavailableException(String message)
      Constructor.
      Parameters:
      message - the detailed message
    • ServiceUnavailableException

      public ServiceUnavailableException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - the detailed message
      cause - the exception that caused this one
    • ServiceUnavailableException

      public ServiceUnavailableException(Throwable cause)
      Constructor.
      Parameters:
      cause - the exception that caused this one