public final class CudaException extends Exception
CudaException
class represents an unusual or unexpected response
from a CUDA-capable device.Modifier and Type | Field and Description |
---|---|
int |
code |
Constructor and Description |
---|
CudaException(int code)
Creates a new exception object.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns a human-readable string describing the problem represented
by this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CudaException(int code)
code
- the error codeCudaError
public String getMessage()
getMessage
in class Throwable
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2024 IBM Corp. and others.