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-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.