Class responsible for dispatching JSP parse and javac compilation errors
to the configured error handler.
This class is also responsible for localizing any error codes before they
are passed on to the configured error handler.
In the case of a Java compilation error, the compiler error message is
parsed into an array of JavacErrorDetail instances, which is passed on to
the configured error handler.
javacError
public void javacError(String errorReport,
Exception e)
throws JasperException
jspError
public void jspError(String errCode,
String arg)
throws JasperException
jspError
public void jspError(String errCode,
String arg,
Exception e)
throws JasperException
jspError
public void jspError(String errCode,
String arg1,
String arg2)
throws JasperException
jspError
public void jspError(String errCode,
String arg1,
String arg2,
String arg3)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Mark where,
String errCode)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Mark where,
String errCode,
String arg)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Mark where,
String errCode,
String arg1,
String arg2)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Mark where,
String errCode,
String arg1,
String arg2,
String arg3)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Node n,
String errCode)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Node n,
String errCode,
String arg)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Node n,
String errCode,
String arg,
Exception e)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Node n,
String errCode,
String arg1,
String arg2)
throws JasperException
jspError
public void jspError(org.apache.jasper.compiler.Node n,
String errCode,
String arg1,
String arg2,
String arg3)
throws JasperException
parseJavacErrors
public static JavacErrorDetail[] parseJavacErrors(String errMsg,
String fname,
Node.Nodes page)
throws JasperException,
IOException
Parses the given error message into an array of javac compilation error
messages (one per javac compilation error line number).
errMsg
- Error messagefname
- Name of Java source file whose compilation failedpage
- Node representation of JSP page from which the Java source
file was generated
- Array of javac compilation errors, or null if the given error
message does not contain any compilation error line numbers