|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
public class HDF5LibraryException
The class HDF5LibraryException returns errors raised by the HDF5 library.
Each major error code from the HDF-5 Library is represented by a sub-class of this class, and by default the 'detailedMessage' is set according to the minor error code from the HDF-5 Library.
For major and minor error codes, see H5Epublic.h in the HDF-5 library.
| Field Summary |
|---|
| Fields inherited from class ncsa.hdf.hdf5lib.exceptions.HDF5Exception |
|---|
detailMessage |
| Constructor Summary | |
|---|---|
HDF5LibraryException()
Constructs an HDF5LibraryException with
no specified detail message. |
|
HDF5LibraryException(String s)
Constructs an HDF5LibraryException with
the specified detail message. |
|
| Method Summary | |
|---|---|
int |
getMajorErrorNumber()
Get the major error number of the first error on the HDF5 library error stack. |
String |
getMinorError(int min_num)
Return a error message for the minor error number. |
int |
getMinorErrorNumber()
Get the minor error number of the first error on the HDF5 library error stack. |
void |
printStackTrace()
Prints this HDF5LibraryException,
the HDF-5 Library error stack, and
and the Java stack trace to the standard error stream. |
void |
printStackTrace(File f)
Prints this HDF5LibraryException
the HDF-5 Library error stack, and
and the Java stack trace to the
specified print stream. |
| Methods inherited from class ncsa.hdf.hdf5lib.exceptions.HDF5Exception |
|---|
getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HDF5LibraryException()
HDF5LibraryException with
no specified detail message.
public HDF5LibraryException(String s)
HDF5LibraryException with
the specified detail message.
s - the detail message.| Method Detail |
|---|
public int getMajorErrorNumber()
public int getMinorErrorNumber()
public String getMinorError(int min_num)
These messages come from H5Epublic.h.
min_num - the minor error number
public void printStackTrace()
HDF5LibraryException,
the HDF-5 Library error stack, and
and the Java stack trace to the standard error stream.
printStackTrace in class Throwablepublic void printStackTrace(File f)
HDF5LibraryException
the HDF-5 Library error stack, and
and the Java stack trace to the
specified print stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||