JEphem site
tig API
Build classes

jephem.astro
Class AstroException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jephem.astro.AstroException
All Implemented Interfaces:
java.io.Serializable

public class AstroException
extends java.lang.Exception

Exception thrown by classes of package jephem.astro when a serious problem occurs.
It is used to propagate all the exceptions raised in the astro classes up to the calling classes.
It can contain an embedded exception.

See Also:
Serialized Form

Constructor Summary
AstroException()
          Default constructor
AstroException(java.lang.Exception e)
          Constructor from an other Exception.
AstroException(java.lang.String strErr)
          Constructor with an error message.
 
Method Summary
 java.lang.Exception getEmbeddedException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstroException

public AstroException()
Default constructor


AstroException

public AstroException(java.lang.Exception e)
Constructor from an other Exception.

Parameters:
e - the embedded Exception.

AstroException

public AstroException(java.lang.String strErr)
Constructor with an error message.

Parameters:
strErr - The message of this Exception
Method Detail

getEmbeddedException

public java.lang.Exception getEmbeddedException()

JEphem site
tig API
Build classes