Package org.gbif.api.exception
Class ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gbif.api.exception.ServiceUnavailableException
- All Implemented Interfaces:
Serializable
An unchecked exception that indicates that the service is not available.
As this class is a runtime exception, there is no need for user code to catch it or
subclasses if any error is to be considered fatal (the usual case).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceUnavailableException
(String message) ServiceUnavailableException
(String message, Throwable cause) Constructor for ServiceUnavailableException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceUnavailableException
Constructor for ServiceUnavailableException.- Parameters:
message
- The message for the failurecause
- The cause of the failure
-
ServiceUnavailableException
- Parameters:
message
- The message for the failure
-