Class ClearCLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.haesleinhuepf.clij.clearcl.exceptions.ClearCLException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClearCLAllocationException,ClearCLArgumentMissingException,ClearCLHostAccessException,ClearCLIllegalArgumentException,ClearCLInvalidExecutionRange,ClearCLNullPointerException,ClearCLProgramNotBuiltException,ClearCLTooManyContextsException,ClearCLUnknownArgumentNameException,ClearCLUnsupportedException,OpenCLException
public class ClearCLException extends RuntimeException
Standard ClearCL exception. Wraps internal backend exception.- Author:
- royer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClearCLException(String pMessage)Instanciates a ClearCL exception from a message and a cause.ClearCLException(String pMessage, Throwable pCause)Instanciates a ClearCL exception from a message and a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ClearCLException
public ClearCLException(String pMessage, Throwable pCause)
Instanciates a ClearCL exception from a message and a cause.- Parameters:
pMessage- messagepCause- cause
-
ClearCLException
public ClearCLException(String pMessage)
Instanciates a ClearCL exception from a message and a cause.- Parameters:
pMessage- message
-
-