Package ai.djl.serving.wlm.util
Class WlmCapacityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ai.djl.serving.wlm.util.WlmException
-
- ai.djl.serving.wlm.util.WlmCapacityException
-
- All Implemented Interfaces:
java.io.Serializable
public class WlmCapacityException extends WlmException
Thrown to throttle when a job is run but the job queue capacity is exceeded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WlmCapacityException(java.lang.String message)
Constructs aWlmCapacityException
with the specified detail message.WlmCapacityException(java.lang.String message, java.lang.Throwable cause)
Constructs aWlmCapacityException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
WlmCapacityException
public WlmCapacityException(java.lang.String message)
Constructs aWlmCapacityException
with the specified detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
WlmCapacityException
public WlmCapacityException(java.lang.String message, java.lang.Throwable cause)
Constructs aWlmCapacityException
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.)
-
-