![]() |
HDF
4.3.0
API Reference
|
The class HDFException returns errors from the HDF library.
Two sub-classes of HDFException are defined:
These exceptions are sub-classed to represent specific error conditions, as needed.
The only specific exception currently defined is HDFNotImplementedException, indicating a function that is part of the HDF API, but which cannot or will not be implemented for Java.
Inheritance diagram for HDFException:Public Member Functions | |
| HDFException () | |
| HDFException (String message) | |
| HDFException (int err) | |
| String | getMessage () |
Static Public Attributes | |
| static final String | OutOfMemoryMessage = "ERROR: HDF Library: Out of memory" |
| static final String | HDFExceptionMessage = "ERROR: HDF Library Error" |
| static final String | HDFMessage = "ERROR: Unknown HDF Error" |
Protected Attributes | |
| int | HDFerror |
| String | detailMessage |
| HDFException | ( | ) |
| HDFException | ( | String | message | ) |
Constructs an HDFException with the specified detail message.
| message | the detail message. |
| HDFException | ( | int | err | ) |
Constructs an HDFException with the specified error number.
| err | the error number. |
| String getMessage | ( | ) |
Returns the detail message of this exception
null if this object does not have a detail message. Reimplemented in HDFLibraryException.
|
protected |
the specified detail message of this exception
|
protected |
the specified error number of this exception
|
static |
|
static |
|
static |