org.sourcejammer.util
Class SourceJammerExceptionChain

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sourcejammer.util.SourceJammerExceptionChain
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CacheException, DiffFormatException, NodeDoesNotExistException, NodeExistsException, SourceJammerConnectionException, SourceJammerVersionException, TextLineReaderException, XMLNodeDoesNotExistException

public class SourceJammerExceptionChain
extends java.lang.Exception

Use this as a base class for all Source Jammer exceptions.

See Also:
Serialized Form

Field Summary
private  java.lang.Exception previousException
           
private  boolean processExceptionChain
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SourceJammerExceptionChain()
           
SourceJammerExceptionChain(java.lang.String msg)
           
SourceJammerExceptionChain(java.lang.String msg, java.lang.Exception ex)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Exception getPrevException()
           
 boolean getProcessExceptionChain()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 void setProcessExceptionChain(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

previousException

private java.lang.Exception previousException

processExceptionChain

private boolean processExceptionChain
Constructor Detail

SourceJammerExceptionChain

public SourceJammerExceptionChain()

SourceJammerExceptionChain

public SourceJammerExceptionChain(java.lang.String msg)

SourceJammerExceptionChain

public SourceJammerExceptionChain(java.lang.String msg,
                                  java.lang.Exception ex)
Method Detail

getPrevException

public java.lang.Exception getPrevException()

setProcessExceptionChain

public void setProcessExceptionChain(boolean value)

getProcessExceptionChain

public boolean getProcessExceptionChain()

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 s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

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

getMessage

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


Copyright 2003 Soucejammer project.