AI-generated Key Takeaways
-
The GenAiException class represents exceptions that occur during service execution.
-
It includes a nested class called ErrorCode which defines the set of possible error codes.
-
The public method getErrorCode allows retrieval of the specific error code associated with the exception.
public class GenAiException extends Exception
Represents an exception that occurs during service execution.
Nested Class Summary
| @interface | GenAiException.ErrorCode | The set of error codes. | |
Public Method Summary
| int |
getErrorCode()
Gets the
GenAiException.ErrorCode.
|
Inherited Method Summary
Public Methods
public int getErrorCode ()
Gets the GenAiException.ErrorCode.