org.eclipse.gemini.blueprint.util.internal
Class ReflectionUtils.InvocationCheckedExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.gemini.blueprint.util.internal.ReflectionUtils.InvocationCheckedExceptionWrapper
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ReflectionUtils
public static class ReflectionUtils.InvocationCheckedExceptionWrapper
- extends RuntimeException
Runtime exception wrapper for checked exceptions thrown by invoked
methods.
Provides a cast free method to get the actual exception.
- Author:
- Costin Leau
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ReflectionUtils.InvocationCheckedExceptionWrapper
public ReflectionUtils.InvocationCheckedExceptionWrapper(Exception cause)
getTargetException
public Exception getTargetException()
- Return the target exception. It will return a (checked) exception
rather then a
Throwable
.
- Returns:
- target exception
Copyright © 2006-2012. All Rights Reserved.