GenAiException

  • 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
The set of error codes. 

Public Method Summary

Inherited Method Summary

Public Methods

public int getErrorCode ()

Design a Mobile Site
View Site in Mobile | Classic
Share by: