Package com.tnsai.thread
Class ThreadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.exceptions.TnsAIException
com.tnsai.thread.ThreadException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ThreadException.InvalidStateException,ThreadException.QuotaExceededException,ThreadException.RecoveryException
public class ThreadException
extends com.tnsai.exceptions.TnsAIException
Exception thrown by thread operations.
- Since:
- 0.0.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException for invalid state transitions.static classException for quota violations.static classException for recovery failures. -
Constructor Summary
ConstructorsConstructorDescriptionThreadException(String message) ThreadException(String message, Throwable cause) -
Method Summary
Methods inherited from class com.tnsai.exceptions.TnsAIException
getContext, getErrorCode, getMaxRetryAttempts, getMessage, getSuggestedRetryDelayMs, getThrownAt, isRetryable, wrapMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ThreadException
-
ThreadException
-