Package hdf.hdflib
Class HDFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- hdf.hdflib.HDFException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HDFJavaException
,HDFLibraryException
public class HDFException extends java.lang.Exception
The class HDFException returns errors from the HDF library.
Two sub-classes of HDFException are defined:
- HDFLibraryException -- errors raised the HDF library code
- HDFJavaException -- errors raised the HDF Java wrapper code
These exceptions will be 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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
HDFerror
static java.lang.String
HDFExceptionMessage
static java.lang.String
HDFMessage
protected java.lang.String
msg
static java.lang.String
OutOfMemoryMessage
-
Constructor Summary
Constructors Constructor Description HDFException()
HDFException(int err)
HDFException(java.lang.String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
-
-
-
Field Detail
-
OutOfMemoryMessage
public static final java.lang.String OutOfMemoryMessage
- See Also:
- Constant Field Values
-
HDFExceptionMessage
public static final java.lang.String HDFExceptionMessage
- See Also:
- Constant Field Values
-
HDFMessage
public static final java.lang.String HDFMessage
- See Also:
- Constant Field Values
-
HDFerror
protected int HDFerror
-
msg
protected java.lang.String msg
-
-