java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.cuda.CudaException
- All Implemented Interfaces:
Serializable
The
CudaException
class represents an unusual or unexpected response
from a CUDA-capable device.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable string describing the problem represented by this exception.Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
Returns a human-readable string describing the problem represented by this exception.- Overrides:
getMessage
in classThrowable
- Returns:
- String The receiver's message.
-