JEphem Informatic Trail JEphem source code JEphemException.java
//****
// class jephem.util.JEphemException
// Software released under the General Public License (version 2 or later), available at
// http://www.gnu.org/copyleft/gpl.html
//****
package jephem.util;

/******************************************************************************
This Exception is thrown when an unrecoverable error occurs.
@author Thierry Graff
@history may 23 2001 : Creation.
*********************************************************************************/
public class JEphemException extends Exception{

 /***********************************************
  Default constructor */
  public JEphemException() {
    super();
  }

  /***********************************************
  Constructor specifying a message.
  @param strErr The message of this Exception
  */
  public JEphemException(String strErr) {
    super(strErr);
  }

  /***********************************************
  Constructor from an other Exception ; the JEphemException is constructed with the message of
  the other Exception.
  @param strErr The message of this Exception
  */
  public JEphemException(Exception e) {
    super(e.getMessage());
  }

}//end class JEphemException