Package hdf.hdf5lib.exceptions
Class HDF5Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
hdf.hdf5lib.exceptions.HDF5Exception
- All Implemented Interfaces:
 java.io.Serializable
- Direct Known Subclasses:
 HDF5JavaException,HDF5LibraryException
public class HDF5Exception
extends java.lang.RuntimeException
The class HDF5Exception returns errors from the Java HDF5 Interface.
Two sub-classes of HDF5Exception are defined:
- HDF5LibraryException -- errors raised the HDF5 library code
 - HDF5JavaException -- errors raised the HDF5 Java wrapper code
 
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.
- See Also:
 - Serialized Form
 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdetailMessage - 
Constructor Summary
Constructors Constructor Description HDF5Exception()Constructs anHDF5Exceptionwith no specified detail message.HDF5Exception(java.lang.String message)Constructs anHDF5Exceptionwith the specified detail message. - 
Method Summary
Modifier and Type Method Description java.lang.StringgetMessage()Returns the detail message of this exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Field Details
- 
detailMessage
protected java.lang.String detailMessage 
 - 
 - 
Constructor Details
- 
HDF5Exception
public HDF5Exception()Constructs anHDF5Exceptionwith no specified detail message. - 
HDF5Exception
public HDF5Exception(java.lang.String message)Constructs anHDF5Exceptionwith the specified detail message.- Parameters:
 message- the detail message.
 
 - 
 - 
Method Details
- 
getMessage
public java.lang.String getMessage()Returns the detail message of this exception- Overrides:
 getMessagein classjava.lang.Throwable- Returns:
 - the detail message or 
nullif this object does not have a detail message. 
 
 -