public class HDFException
extends java.lang.RuntimeException
The class HDFException returns errors from the HDF library.
Two sub-classes of HDFException are defined:
These exceptions are 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.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
detailMessage
the specified detail message of this exception
|
protected int |
HDFerror
the specified error number of this exception
|
static java.lang.String |
HDFExceptionMessage |
static java.lang.String |
HDFMessage |
static java.lang.String |
OutOfMemoryMessage |
Constructor and Description |
---|
HDFException() |
HDFException(int err)
Constructs an
HDFException with the specified error number. |
HDFException(java.lang.String message)
Constructs an
HDFException with the specified detail
message. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the detail message of this exception
|
public static final java.lang.String OutOfMemoryMessage
public static final java.lang.String HDFExceptionMessage
public static final java.lang.String HDFMessage
protected int HDFerror
protected java.lang.String detailMessage
public HDFException()
public HDFException(java.lang.String message)
HDFException
with the specified detail
message.message
- the detail message.public HDFException(int err)
HDFException
with the specified error number.err
- the error number.