Package com.tnsai.prompt
Class PromptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.exceptions.TnsAIException
com.tnsai.prompt.PromptException
- All Implemented Interfaces:
Serializable
Exception thrown when prompt operations fail.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPromptException(String message) Creates exception with message.PromptException(String message, Throwable cause) Creates exception with message and 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
-
PromptException
Creates exception with message.- Parameters:
message- the message
-
PromptException
Creates exception with message and cause.- Parameters:
message- the messagecause- the cause
-