Class CudaException

All Implemented Interfaces:
Serializable

public final class CudaException extends Exception
The CudaException class represents an unusual or unexpected response from a CUDA-capable device.
See Also:
  • Field Details

    • code

      public final int code
  • Constructor Details

    • CudaException

      public CudaException(int code)
      Creates a new exception object.
      Parameters:
      code - the error code
      See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Returns a human-readable string describing the problem represented by this exception.
      Overrides:
      getMessage in class Throwable
      Returns:
      String The receiver's message.