GenAiException

public class GenAiException extends Exception


Represents an exception that occurs during service execution.

Summary

Public fields

final int

Public methods

int

Gets the ErrorCode.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public fields

errorCode

@GenAiException.ErrorCode
public final int errorCode

Public methods

getErrorCode

@GenAiException.ErrorCode
public int getErrorCode()

Gets the ErrorCode.