13141516171819
while (throwable instanceof InvocationTargetException && throwable.getCause() != null) { throwable = throwable.getCause(); } throw (throwable instanceof RuntimeException) ? (RuntimeException) throwable : new MessageCallbackFailure(throwable); }