Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.dghda.kent
Class WrappedException  view WrappedException download WrappedException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.dghda.kent.WrappedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReportingException, ReportTransformException

public class WrappedException
extends java.lang.Exception

An exception that may wrap a different exception.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable m_Error
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
WrappedException(java.lang.String msg)
           
WrappedException(java.lang.String msg, java.lang.Throwable error)
           
 
Method Summary
 java.lang.Throwable getError()
           
 void printStackTrace()
          Prints the stack trace of the wrapped exception, if there is one.
 void printStackTrace(java.io.PrintStream out)
          Prints the stack trace of the wrapped exception, if there is one.
 void printStackTrace(java.io.PrintWriter out)
          Prints the stack trace of the wrapped exception, if there is one.
 java.lang.String toString()
          Get a human-readable representation of this Throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_Error

private java.lang.Throwable m_Error
Constructor Detail

WrappedException

public WrappedException(java.lang.String msg)

WrappedException

public WrappedException(java.lang.String msg,
                        java.lang.Throwable error)
Method Detail

getError

public java.lang.Throwable getError()

printStackTrace

public void printStackTrace()
Prints the stack trace of the wrapped exception, if there is one.


printStackTrace

public void printStackTrace(java.io.PrintStream out)
Prints the stack trace of the wrapped exception, if there is one.


printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Prints the stack trace of the wrapped exception, if there is one.


toString

public java.lang.String toString()
Description copied from class: java.lang.Throwable
Get a human-readable representation of this Throwable. The detail message is retrieved by getLocalizedMessage(). Then, with a null detail message, this string is simply the object's class name; otherwise the string is getClass().getName() + ": " + message.