Class OpenCLException

All Implemented Interfaces:
Direct Known Subclasses:

public class OpenCLException extends RuntimeException
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 Details

    • OpenCLException

      public OpenCLException()
      Creates a new instance of OpenCLException without detail message.
    • OpenCLException

      public OpenCLException(String msg)
      Constructs an instance of OpenCLException with the specified detail message.
      msg - the detail message.
    • OpenCLException

      public OpenCLException(String msg, int errorCode)
  • Method Details

    • getErrorCode

      public int getErrorCode()
      the error code