Package ai.djl.serving.http
Class ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.djl.serving.http.ServiceUnavailableException
- All Implemented Interfaces:
Serializable
Thrown when the server is unable to serve the HTTP request.
- See Also:
-
Constructor Summary
ConstructorDescriptionServiceUnavailableException
(String message) Constructs anServiceUnavailableException
with the specified detail message. -
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
Constructs anServiceUnavailableException
with the specified detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-