org.jpos.iso
Class ISOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jpos.iso.ISOException
All Implemented Interfaces:
java.io.Serializable, Loggeable
Direct Known Subclasses:
ICLException

public class ISOException
extends java.lang.Exception
implements Loggeable

Signals that an ISO exception of some sort has occurred.

Version:
$Revision: 2594 $ $Date: 2008-01-22 14:41:31 -0200 (Tue, 22 Jan 2008) $
Author:
Alejandro P. Revilla
See Also:
Serialized Form

Constructor Summary
ISOException()
          Constructs an ISOException with no detail message.
ISOException(java.lang.String s)
          Constructs an ISOException with the specified detail message.
ISOException(java.lang.String s, java.lang.Throwable nested)
          Constructs an ISOException with a detail Message nested exception
ISOException(java.lang.Throwable nested)
          Constructs an ISOException with a nested exception
 
Method Summary
 void dump(java.io.PrintStream p, java.lang.String indent)
           
 java.lang.Throwable getNested()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOException

public ISOException()
Constructs an ISOException with no detail message.


ISOException

public ISOException(java.lang.String s)
Constructs an ISOException with the specified detail message.

Parameters:
s - the detail message.

ISOException

public ISOException(java.lang.Throwable nested)
Constructs an ISOException with a nested exception

Parameters:
nested - another exception

ISOException

public ISOException(java.lang.String s,
                    java.lang.Throwable nested)
Constructs an ISOException with a detail Message nested exception

Parameters:
s - the detail message.
nested - another exception
Method Detail

getNested

public java.lang.Throwable getNested()
Returns:
nested exception (may be null)

dump

public void dump(java.io.PrintStream p,
                 java.lang.String indent)
Specified by:
dump in interface Loggeable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Overrides:
printStackTrace in class java.lang.Throwable