private static Throwable extractThrowable ( final Object [ ] arguments ) { return arguments . length == 0 ? null : extractThrowable ( arguments [ arguments . length - 1 ] ) ; }
Returns a throwable if the last argument is one .