Class InferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.ai.inference.InferenceException
Reports model validation, delegate selection, allocation, or invocation
failures from the portable inference API.
-
Constructor Summary
ConstructorsConstructorDescriptionInferenceException(String message) Creates an inference failure with a user-readable explanation.InferenceException(String message, Throwable cause) Creates an inference failure that preserves the native/port cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InferenceException
Creates an inference failure with a user-readable explanation.- Parameters:
message- failure explanation
-
InferenceException
-