if (ex.getTargetException() instanceof YalpException) {
throw (YalpException) ex.getTargetException();
}
StackTraceElement element = YalpException.getInterestingStrackTraceElement(ex.getTargetException());
if (element != null) {
throw new JavaExecutionException(Yalp.classes.getApplicationClass(element.getClassName()), element.getLineNumber(), ex.getTargetException());
}
throw new JavaExecutionException(Http.Request.current().action, ex);
}
} catch (Result result) {
Yalp.pluginCollection.onActionInvocationResult(result);