NeXusJavaBindings  1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
HDFJavaException.java
Go to the documentation of this file.
1 /****************************************************************************
2  * NCSA HDF *
3  * National Comptational Science Alliance *
4  * University of Illinois at Urbana-Champaign *
5  * 605 E. Springfield, Champaign IL 61820 *
6  * *
7  * For conditions of distribution and use, see the accompanying *
8  * hdf/COPYING file. *
9  * *
10  ****************************************************************************/
11 
12 package ncsa.hdf.hdflib;
13 
22 public class HDFJavaException extends HDFException {
23 
24  String msg;
25 
26  public HDFJavaException() {
27  HDFerror = 0;
28  }
29 
30  public HDFJavaException(String s) {
31  msg = "HDFLibraryException: "+s;
32  }
33 
34  public String getMessage() {
35  return msg;
36  }
37 }