Package ai.djl.serving.wlm.util
Class WlmException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ai.djl.serving.wlm.util.WlmException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WlmCapacityException
,WlmShutdownException
public class WlmException extends java.lang.RuntimeException
Thrown when an exception occurs inside theWorkLoadManager
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WlmException(java.lang.String message)
Constructs aWlmException
with the specified detail message.WlmException(java.lang.String message, java.lang.Throwable cause)
Constructs aWlmException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
WlmException
public WlmException(java.lang.String message)
Constructs aWlmException
with the specified detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
WlmException
public WlmException(java.lang.String message, java.lang.Throwable cause)
Constructs aWlmException
with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated into this exception's detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-