Class GenAIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
smile.onnx.genai.GenAIException
- All Implemented Interfaces:
Serializable
Unchecked exception thrown when an ONNX Runtime GenAI operation fails.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGenAIException(String message) Creates an exception with the given message.GenAIException(String message, Throwable cause) Creates an exception with the given message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GenAIException
Creates an exception with the given message.- Parameters:
message- error message from the native layer or wrapper.
-
GenAIException
-