Package com.aparapi.exception
Class AparapiKernelFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aparapi.exception.AparapiKernelFailedException
- All Implemented Interfaces:
Serializable
This exception is thrown when a Java kernel execution fails.
It is intended to convey information about the local and global Ids of the thread that failed, while
avoiding from polluting the relevant stack trace.
One such example is when a Java kernel accesses outside an array due to an out of bounds index.
- Author:
- CoreRasurae
- See Also:
-
Constructor Summary
ConstructorDescriptionAparapiKernelFailedException
(String message) AparapiKernelFailedException
(String message, Throwable cause) AparapiKernelFailedException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AparapiKernelFailedException
-
AparapiKernelFailedException
-
AparapiKernelFailedException
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-