| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.emf.common.util.WrappedException
A runtime exception that wraps another exception.
Field Summary | |
protected Exception | wrappedException
The exception being wrapped. |
Constructor Summary | |
WrappedException(Exception exception)
Creates an instance that wraps the exception. | |
WrappedException(String message,
Exception exception)
Creates an instance with it's own message that wraps the exception. |
Method Summary | |
Exception | exception()
Returns the wrapped exception. |
void | printStackTrace()
Prints both wrapped exception's stack and this one's. |
void | printStackTrace(PrintStream printStream)
Prints both wrapped exception's stack and this one's. |
void | printStackTrace(PrintWriter printWriter)
Prints both wrapped exception's stack and this one's. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Exception wrappedException
Constructor Detail |
public WrappedException(Exception exception)
public WrappedException(String message, Exception exception)
Method Detail |
public Exception exception()
public void printStackTrace()
public void printStackTrace(PrintStream printStream)
public void printStackTrace(PrintWriter printWriter)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |