![]() |
HDF
4.3.0
API Reference
|
The class HDFException returns errors raised by the HDF library.
In principle, this includes any and all errors possible from the HDF library. However, most error conditions are not yet detected in this version of the Java interface. This will be added in future releases.
The only HDF library error currently raised are errors in Hopen, such as `‘file not found’'.
Inheritance diagram for HDFLibraryException:Public Member Functions | |
| HDFLibraryException () | |
| HDFLibraryException (String s) | |
| HDFLibraryException (int err) | |
| String | getMessage () |
| void | printStackTrace () |
| void | printStackTrace (java.io.File f) |
Public Member Functions inherited from HDFException | |
| HDFException () | |
| HDFException (String message) | |
| HDFException (int err) | |
Additional Inherited Members | |
Static Public Attributes inherited from HDFException | |
| 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 inherited from HDFException | |
| int | HDFerror |
| String | detailMessage |
Constructs an HDFLibraryException with no specified detail message.
| HDFLibraryException | ( | String | s | ) |
Constructs an HDFLibraryException with the specified detail message.
| s | the detail message. |
| HDFLibraryException | ( | int | err | ) |
Constructs an HDFLibraryException with the specified detail error number.
| err | the detail error number. |
| String getMessage | ( | ) |
Returns the detail message of this exception
null if this object does not have a detail message. Reimplemented from HDFException.
| void printStackTrace | ( | ) |
Prints this HDFLibraryException, the HDF Library error stack, and and the Java stack trace to the standard error stream.
| void printStackTrace | ( | java.io.File | f | ) |
Prints this HDFLibraryException the HDF Library error stack, and and the Java stack trace to the specified print stream.
| f | the file print stream. |