Package com.jme3.opencl
Class OpenCLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jme3.opencl.OpenCLException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- KernelCompilationException
Generic OpenCL exception, can be thrown in every method of this package.
 The error code and its name is reported in the message string as well as the OpenCL call that
 causes this exception. Please refer to the official OpenCL specification
 to see what might cause this exception.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new instance ofOpenCLExceptionwithout detail message.OpenCLException(String msg) Constructs an instance ofOpenCLExceptionwith the specified detail message.OpenCLException(String msg, int errorCode) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
OpenCLExceptionpublic OpenCLException()Creates a new instance ofOpenCLExceptionwithout detail message.
- 
OpenCLExceptionConstructs an instance ofOpenCLExceptionwith the specified detail message.- Parameters:
- msg- the detail message.
 
- 
OpenCLException
 
- 
- 
Method Details- 
getErrorCodepublic int getErrorCode()- Returns:
- the error code
 
 
-