-
- All Implemented Interfaces:
-
java.io.Serializable
public class ExecutorchRuntimeException extends RuntimeException
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExecutorchRuntimeException.ExecutorchInvalidArgumentException
-
Field Summary
Fields Modifier and Type Field Description public final static intOKpublic final static intINTERNALpublic final static intINVALID_STATEpublic final static intEND_OF_METHODpublic final static intNOT_SUPPORTEDpublic final static intNOT_IMPLEMENTEDpublic final static intINVALID_ARGUMENTpublic final static intINVALID_TYPEpublic final static intOPERATOR_MISSINGpublic final static intREGISTRATION_EXCEEDING_MAX_KERNELSpublic final static intREGISTRATION_ALREADY_REGISTEREDpublic final static intNOT_FOUNDpublic final static intMEMORY_ALLOCATION_FAILEDpublic final static intACCESS_FAILEDpublic final static intINVALID_PROGRAMpublic final static intINVALID_EXTERNAL_DATApublic final static intOUT_OF_RESOURCESpublic final static intDELEGATE_INVALID_COMPATIBILITYpublic final static intDELEGATE_MEMORY_ALLOCATION_FAILEDpublic final static intDELEGATE_INVALID_HANDLEprivate final interrorCode
-
Constructor Summary
Constructors Constructor Description ExecutorchRuntimeException(int errorCode, String details)
-
Method Summary
Modifier and Type Method Description intgetErrorCode()StringgetDetailedError()static RuntimeExceptionmakeExecutorchException(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()
-
getDetailedError
String getDetailedError()
-
makeExecutorchException
static RuntimeException makeExecutorchException(int errorCode, String details)
-
-
-
-