-
- All Implemented Interfaces:
-
java.io.Serializable
public class ExecutorchRuntimeException extends RuntimeException
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ExecutorchRuntimeException.ExecutorchInvalidArgumentException
-
Field Summary
Fields Modifier and Type Field Description public final static int
OK
public final static int
INTERNAL
public final static int
INVALID_STATE
public final static int
END_OF_METHOD
public final static int
NOT_SUPPORTED
public final static int
NOT_IMPLEMENTED
public final static int
INVALID_ARGUMENT
public final static int
INVALID_TYPE
public final static int
OPERATOR_MISSING
public final static int
REGISTRATION_EXCEEDING_MAX_KERNELS
public final static int
REGISTRATION_ALREADY_REGISTERED
public final static int
NOT_FOUND
public final static int
MEMORY_ALLOCATION_FAILED
public final static int
ACCESS_FAILED
public final static int
INVALID_PROGRAM
public final static int
INVALID_EXTERNAL_DATA
public final static int
OUT_OF_RESOURCES
public final static int
DELEGATE_INVALID_COMPATIBILITY
public final static int
DELEGATE_MEMORY_ALLOCATION_FAILED
public final static int
DELEGATE_INVALID_HANDLE
private final int
errorCode
-
Constructor Summary
Constructors Constructor Description ExecutorchRuntimeException(int errorCode, String details)
-
Method Summary
Modifier and Type Method Description int
getErrorCode()
static RuntimeException
makeExecutorchException(int errorCode, String details)
-
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
-
ExecutorchRuntimeException
ExecutorchRuntimeException(int errorCode, String details)
-
-
Method Detail
-
getErrorCode
int getErrorCode()
-
makeExecutorchException
static RuntimeException makeExecutorchException(int errorCode, String details)
-
-
-
-