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:
java.io.Serializable
public class AparapiKernelFailedException extends java.lang.RuntimeException
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AparapiKernelFailedException(java.lang.String message)
AparapiKernelFailedException(java.lang.String message, java.lang.Throwable cause)
AparapiKernelFailedException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AparapiKernelFailedException
public AparapiKernelFailedException(java.lang.String message)
-
AparapiKernelFailedException
public AparapiKernelFailedException(java.lang.String message, java.lang.Throwable cause)
-
AparapiKernelFailedException
public AparapiKernelFailedException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-