|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException org.eclipse.emf.ecore.resource.Resource.IOWrappedException
public static class 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.
Constructor Summary | |
---|---|
Resource.IOWrappedException(java.lang.Exception exception)
Creates an instance which wraps the given exception. |
|
Resource.IOWrappedException(java.lang.Throwable throwable)
Creates an instance which wraps the given exception. |
Method Summary | |
---|---|
java.lang.Exception |
getWrappedException()
Deprecated. in 2.2. Use Throwable.getCause() instead. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Resource.IOWrappedException(java.lang.Exception exception)
exception
- the exception to wrap.public Resource.IOWrappedException(java.lang.Throwable throwable)
throwable
- the exception to wrap.Method Detail |
---|
@Deprecated public java.lang.Exception getWrappedException()
Throwable.getCause()
instead.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |