Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ReflectionUtils.InvocationCheckedExceptionWrapper(Exception cause)`

Method Summary
`Exception` | `getTargetException()` Return the target exception.

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

### ReflectionUtils.InvocationCheckedExceptionWrapper

    public ReflectionUtils.InvocationCheckedExceptionWrapper(Exception cause)

Method Detail

### getTargetException

    public Exception getTargetException()

  Return the target exception. It will return a (checked) exception rather then a `Throwable`.

  Returns:
    target exception

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2012. All Rights Reserved.