protected JspParseException error(Throwable e)
{
if (e instanceof JspLineParseException)
return (JspParseException) e;
else if (_filename == null || e instanceof LineCompileException)
return new JspLineParseException(e);
String msg;
if (e instanceof CompileException)
msg = e.getMessage();
else
msg = String.valueOf(e);
String lines = _gen.getSourceLines(_sourcePath, _startLine);
return new JspLineParseException(_filename + ":" + _startLine + ": " + msg + lines, e);
}