org.sourcejammer.util
Class SourceJammerRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.sourcejammer.util.SourceJammerRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadMethodArgumentException, ConfigurationException

public class SourceJammerRuntimeException
extends java.lang.RuntimeException

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

See Also:
Serialized Form

Field Summary
private  java.lang.Exception previousException
           
private  boolean processExceptionChain
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SourceJammerRuntimeException()
           
SourceJammerRuntimeException(java.lang.String msg)
           
SourceJammerRuntimeException(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

SourceJammerRuntimeException

public SourceJammerRuntimeException()

SourceJammerRuntimeException

public SourceJammerRuntimeException(java.lang.String msg)

SourceJammerRuntimeException

public SourceJammerRuntimeException(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.