use of lucee.runtime.util.Excepton in project Lucee by lucee.
the class BodyTagTryCatchFinallySupport method doCatch.
/**
* @see javax.servlet.jsp.tagext.TryCatchFinally#doCatch(java.lang.Throwable)
*/
@Override
public void doCatch(Throwable t) throws Throwable {
if (t instanceof PageServletException) {
final PageServletException pse = (PageServletException) t;
t = pse.getPageException();
}
if (bodyContent != null) {
final Excepton util = CFMLEngineFactory.getInstance().getExceptionUtil();
if (util.isOfType(Excepton.TYPE_ABORT, t))
bodyContent.writeOut(bodyContent.getEnclosingWriter());
bodyContent.clearBuffer();
}
throw t;
}
Aggregations