|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandler
Interface for handling JSP parse and javac compilation errors. An implementation of this interface may be registered with the ErrorDispatcher by setting the XXX initialization parameter in the JSP page compiler and execution servlet in Catalina's web.xml file to the implementation's fully qualified class name.
Method Summary | |
---|---|
void |
javacError(JavacErrorDetail[] details)
Processes the given javac compilation errors. |
void |
javacError(java.lang.String errorReport,
java.lang.Exception exception)
Processes the given javac error report and exception. |
void |
jspError(java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error. |
void |
jspError(java.lang.String fname,
int line,
int column,
java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error. |
Method Detail |
---|
void jspError(java.lang.String fname, int line, int column, java.lang.String msg, java.lang.Exception exception) throws JasperException
fname
- Name of the JSP file in which the parse error occurredline
- Parse error line numbercolumn
- Parse error column numbermsg
- Parse error messageexception
- Parse exception
JasperException
void jspError(java.lang.String msg, java.lang.Exception exception) throws JasperException
msg
- Parse error messageexception
- Parse exception
JasperException
void javacError(JavacErrorDetail[] details) throws JasperException
details
- Array of JavacErrorDetail instances corresponding to the
compilation errors
JasperException
void javacError(java.lang.String errorReport, java.lang.Exception exception) throws JasperException
errorReport
- Compilation error reportexception
- Compilation exception
JasperException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |