NeXusJavaBindings  1
Public Member Functions | Static Public Attributes | List of all members
ncsa.hdf.hdflib.HDFException Class Reference
Inheritance diagram for ncsa.hdf.hdflib.HDFException:
Inheritance graph
Collaboration diagram for ncsa.hdf.hdflib.HDFException:
Collaboration graph

Public Member Functions

 HDFException ()
 
 HDFException (String s)
 
 HDFException (int err)
 
String getMessage ()
 

Static Public Attributes

static final String OutOfMemoryMessage ="ERROR: HDF Library: Out of memory"
 
static final String HDFExceptionMessage ="ERROR: HDF Library Error"
 
static final String HDFMessage ="ERROR: Unknown HDF Error"
 

Detailed Description

The class HDFException returns errors from the HDF library.

Two sub-classes of HDFException are defined:

  1. HDFLibraryException – errors raised the HDF library code
  2. 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.

Definition at line 36 of file HDFException.java.

Constructor & Destructor Documentation

ncsa.hdf.hdflib.HDFException.HDFException ( )

Definition at line 46 of file HDFException.java.

ncsa.hdf.hdflib.HDFException.HDFException ( String  s)

Definition at line 50 of file HDFException.java.

ncsa.hdf.hdflib.HDFException.HDFException ( int  err)

Definition at line 54 of file HDFException.java.

Member Function Documentation

String ncsa.hdf.hdflib.HDFException.getMessage ( )

Member Data Documentation

final String ncsa.hdf.hdflib.HDFException.HDFExceptionMessage ="ERROR: HDF Library Error"
static

Definition at line 40 of file HDFException.java.

final String ncsa.hdf.hdflib.HDFException.HDFMessage ="ERROR: Unknown HDF Error"
static

Definition at line 41 of file HDFException.java.

final String ncsa.hdf.hdflib.HDFException.OutOfMemoryMessage ="ERROR: HDF Library: Out of memory"
static

Definition at line 39 of file HDFException.java.


The documentation for this class was generated from the following file: