|
|||||||||||
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.io.IOException
org.eclipse.emf.ecore.resource.Resource.IOWrappedException
An IO exception that wraps another exception.
Since save and load throw an IO Exception, it may be convenient for an implementation to wrap another exception in order to throw it as an IO exception.
Field Summary | |
protected Exception |
exception
The wrapped exception. |
Constructor Summary | |
Resource.IOWrappedException(Exception exception)
Creates an instance which wraps the given exception. |
Method Summary | |
String |
getLocalizedMessage()
Returns the localized message of the wrapped exception. |
String |
getMessage()
Returns the message of the wrapped exception. |
Exception |
getWrappedException()
Returns the wrapped exception. |
void |
printStackTrace()
Prints the stack trace of the wrapped exception. |
void |
printStackTrace(PrintStream printStream)
Prints the stack trace of the wrapped exception. |
void |
printStackTrace(PrintWriter printWriter)
Prints the stack trace of the wrapped exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 exception
Constructor Detail |
public Resource.IOWrappedException(Exception exception)
exception
- the exception to wrap.Method Detail |
public Exception getWrappedException()
public String getLocalizedMessage()
public String getMessage()
public void printStackTrace()
public void printStackTrace(PrintStream printStream)
printStream
- the stream to print to.public void printStackTrace(PrintWriter printWriter)
printWriter
- the writer to print to.
|
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 |