use of lucee.runtime.exp.AbortException in project Lucee by lucee.
the class BodyTagTryCatchFinallyImpl method doCatch.
@Override
public void doCatch(Throwable t) throws Throwable {
ExceptionUtil.rethrowIfNecessary(t);
if (t instanceof PageServletException) {
PageServletException pse = (PageServletException) t;
t = pse.getPageException();
}
if (bodyContent != null) {
if (t instanceof AbortException) {
bodyContent.writeOut(bodyContent.getEnclosingWriter());
}
bodyContent.clearBuffer();
}
throw t;
}
Aggregations