Package com.google.genai.errors
Class GenAiIOException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class GenAiIOException extends BaseExceptionIO exception raised in the GenAI SDK.
-
-
Field Summary
Fields Modifier and Type Field Description public Throwablecausepublic Array<StackTraceElement>stackTrace
-
Constructor Summary
Constructors Constructor Description GenAiIOException(String message, IOException cause)Creates a new GenAiIoException with the specified message and the original IOException. GenAiIOException(String message, Throwable cause)Creates a new GenAiIoException with the specified message and the original cause. GenAiIOException(String message)Creates a new GenAiIoException with the specified message. GenAiIOException(Throwable cause)Creates a new GenAiIoException with the specified cause.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GenAiIOException
GenAiIOException(String message, IOException cause)
Creates a new GenAiIoException with the specified message and the original IOException.
-
GenAiIOException
GenAiIOException(String message, Throwable cause)
Creates a new GenAiIoException with the specified message and the original cause.
-
GenAiIOException
GenAiIOException(String message)
Creates a new GenAiIoException with the specified message.
-
GenAiIOException
GenAiIOException(Throwable cause)
Creates a new GenAiIoException with the specified cause.
-
-
-
-