| Modifier and Type | Method and Description |
|---|---|
static Throwable |
targetOf(Throwable t)
Obtains the target of the given
. |
public static Throwable targetOf(Throwable t)
Throwable. If the Throwable is a
InvocationTargetException, this method will return the "target exception" (not the cause.) For other
Throwables, the same instance is returned unmodified.t - the given Throwable.Throwable passed as
argument.Copyright © 2007–2016. All rights reserved.