-
- All Implemented Interfaces:
-
java.io.Serializable
public class ExecutorchRuntimeException extends RuntimeException
Base exception for all ExecuTorch runtime errors. Each instance carries an integer error code corresponding to the native
runtime/core/error.hvalues, accessible via getErrorCode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExecutorchRuntimeException.ExecutorchInvalidArgumentExceptionpublic classExecutorchRuntimeException.Companion
-
Constructor Summary
Constructors Constructor Description ExecutorchRuntimeException(Integer errorCode, String details, Throwable cause)ExecutorchRuntimeException(Integer errorCode, String details)
-
Method Summary
Modifier and Type Method Description final IntegergetErrorCode()ThrowablegetCause()StringgetMessage()final StringgetDetailedError()Returns detailed log output captured from the native runtime, if available. -
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getErrorCode
final Integer getErrorCode()
-
getMessage
String getMessage()
-
getDetailedError
final String getDetailedError()
Returns detailed log output captured from the native runtime, if available.
-
-
-
-