Class GPTException.GPTUserNotificationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- com.composum.ai.backend.base.service.GPTException
 - 
- com.composum.ai.backend.base.service.GPTException.GPTUserNotificationException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
- Enclosing class:
 - GPTException
 
public static class GPTException.GPTUserNotificationException extends GPTException
A special exception if the user should be notified about something instead of completing the task. This is used to transport information in cases where a special return value is not feasible.- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.composum.ai.backend.base.service.GPTException
GPTException.GPTContextLengthExceededException, GPTException.GPTRetryableResponseErrorException, GPTException.GPTUserNotificationException 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GPTUserNotificationException(String description, String payload) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetPayload()- 
Methods inherited from class com.composum.ai.backend.base.service.GPTException
buildException 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 -