public class HDF5Exception extends Exception
The class HDF5Exception returns errors from the Java HDF5 Interface.
Two sub-classes of HDF5Exception are defined:
These exceptions are sub-classed to represent specific error conditions, as needed. In particular, HDF5LibraryException has a sub-class for each major error code returned by the HDF5 library.
| Modifier and Type | Field and Description |
|---|---|
protected String |
detailMessage |
| Constructor and Description |
|---|
HDF5Exception()
Constructs an
HDF5Exception with no specified
detail message. |
HDF5Exception(String message)
Constructs an
HDF5Exception with the specified
detail message. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the detail message of this exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String detailMessage
public HDF5Exception()
HDF5Exception with no specified
detail message.public HDF5Exception(String message)
HDF5Exception with the specified
detail message.message - the detail message.public String getMessage()
getMessage in class Throwablenull if this object does not
have a detail message.