Package com.aparapi.exception
Class AparapiBrokenBarrierException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aparapi.exception.AparapiBrokenBarrierException
- All Implemented Interfaces:
Serializable
public class AparapiBrokenBarrierException extends RuntimeException
Exception is thrown when an Aparapi kernel is executing in Java mode,
and a barrier cannot be completed due to threads that die during its execution.
Aparapi ensures execution won't deadlock due to such an event, resulting in
fail-fast code, and allowing easy perception of the failure cause.
One such case is when an Aparapi kernel accesses outside a valid array position.
- Author:
- CoreRasurae
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AparapiBrokenBarrierException(String message)
AparapiBrokenBarrierException(String message, Throwable cause)
AparapiBrokenBarrierException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
AparapiBrokenBarrierException(Throwable cause)
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString