public interface ErrorHandler
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.
Modifier and Type | Method and Description |
---|---|
void |
javacError(JavacErrorDetail[] details)
Processes the given javac compilation errors.
|
void |
javacError(String errorReport,
Exception exception)
Processes the given javac error report and exception.
|
void |
jspError(String msg,
Exception exception)
Processes the given JSP parse error.
|
void |
jspError(String fname,
int line,
int column,
String msg,
Exception exception)
Processes the given JSP parse error.
|
void jspError(String fname, int line, int column, String msg, 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 exceptionJasperException
void jspError(String msg, Exception exception) throws JasperException
msg
- Parse error messageexception
- Parse exceptionJasperException
void javacError(JavacErrorDetail[] details) throws JasperException
details
- Array of JavacErrorDetail instances corresponding to the
compilation errorsJasperException
void javacError(String errorReport, Exception exception) throws JasperException
errorReport
- Compilation error reportexception
- Compilation exceptionJasperException
Copyright © 2006–2018 TinyGroup. All rights reserved.