Class WrappedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.camel.dataformat.bindy.WrappedException
-
- All Implemented Interfaces:
Serializable
public class WrappedException extends RuntimeException
ARuntimeException
which wraps a checked exception. This is necessary when dealing with streams, since the API does not allow catching or propagating a checked exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrappedException(Exception wrappedException)
Mandatory constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getWrappedException()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-