Package org.eclipse.emf.common.util
Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.emf.common.util.WrappedException
- All Implemented Interfaces:
Serializable
A runtime exception that wraps another exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedException(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedException
Creates an instance that wraps the exception. -
WrappedException
Creates an instance with it's own message that wraps the exception.- Parameters:
message- the message.exception- the exception to wrap.
-
-
Method Details
-
exception
Returns the wrapped exception.- Returns:
- the wrapped exception.
-