org.xmlecho.palomar
Class ECHOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xmlecho.palomar.ECHOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LogServiceException, RDBMSException, SecurityServiceException, XfsException

public class ECHOException
extends java.lang.Exception

general mechanism for signalling errors during ECHO Processing

See Also:
Serialized Form

Constructor Summary
ECHOException()
           
ECHOException(java.lang.Exception why)
          create a new ECHOException wrapped over another Exception
ECHOException(java.lang.String msg)
          create a new ECHOException
ECHOException(java.lang.String msg, java.lang.Exception why)
          create a new ECHOException wrapped over another Exception along with a message
 
Method Summary
 java.lang.Exception getException()
           
 
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

ECHOException

public ECHOException()

ECHOException

public ECHOException(java.lang.String msg)
create a new ECHOException


ECHOException

public ECHOException(java.lang.String msg,
                     java.lang.Exception why)
create a new ECHOException wrapped over another Exception along with a message

Parameters:
msg - a human readable message
why - an Exception value, the underlying cause

ECHOException

public ECHOException(java.lang.Exception why)
create a new ECHOException wrapped over another Exception

Parameters:
why - an Exception value, the underlying cause.
Method Detail

getException

public java.lang.Exception getException()
Returns:
the embedded Exception, if there is one, otherwise null