org.apache.jasper.compiler
public class ErrorDispatcher extends Object
Constructor Summary | |
---|---|
ErrorDispatcher(boolean jspcMode) |
Method Summary | |
---|---|
static JavacErrorDetail | createJavacError(String fname, Node.Nodes page, StringBuffer errMsgBuf, int lineNum) |
static JavacErrorDetail | createJavacError(String fname, Node.Nodes page, StringBuffer errMsgBuf, int lineNum, JspCompilationContext ctxt) |
void | javacError(JavacErrorDetail[] javacErrors) |
void | javacError(String errorReport, Exception e) |
void | jspError(String errCode) |
void | jspError(Mark where, String errCode) |
void | jspError(Node n, String errCode) |
void | jspError(String errCode, String arg) |
void | jspError(Mark where, String errCode, String arg) |
void | jspError(Node n, String errCode, String arg) |
void | jspError(String errCode, String arg1, String arg2) |
void | jspError(String errCode, String arg1, String arg2, String arg3) |
void | jspError(Mark where, String errCode, String arg1, String arg2) |
void | jspError(Mark where, String errCode, String arg1, String arg2, String arg3) |
void | jspError(Node n, String errCode, String arg1, String arg2) |
void | jspError(Node n, String errCode, String arg1, String arg2, String arg3) |
void | jspError(Exception e) |
void | jspError(String errCode, String arg, Exception e) |
void | jspError(Node n, String errCode, String arg, Exception e) |
static JavacErrorDetail[] | parseJavacErrors(String errMsg, String fname, Node.Nodes page)
Parses the given error message into an array of javac compilation error
messages (one per javac compilation error line number).
|
Parameters: fname page errMsgBuf lineNum
Returns: JavacErrorDetail The error details
Throws: JasperException
Parameters: fname page errMsgBuf lineNum ctxt
Returns: JavacErrorDetail The error details
Throws: JasperException
Parameters: errMsg Error message fname Name of Java source file whose compilation failed page Node representation of JSP page from which the Java source file was generated
Returns: Array of javac compilation errors, or null if the given error message does not contain any compilation error line numbers