FileDocCategorySizeDatePackage
ErrorHandler.javaAPI DocGlassfish v2 API3705Fri May 04 22:32:52 BST 2007org.apache.jasper.compiler

ErrorHandler

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.
author
Jan Luehe
author
Kin-man Chung

Fields Summary
Constructors Summary
Methods Summary
public voidjavacError(JavacErrorDetail[] details)
Processes the given javac compilation errors.

param
details Array of JavacErrorDetail instances corresponding to the compilation errors

public voidjavacError(java.lang.String errorReport, java.lang.Exception exception)
Processes the given javac error report and exception.

param
errorReport Compilation error report
param
exception Compilation exception

public voidjspError(java.lang.String fname, int line, int column, java.lang.String msg, java.lang.Exception exception)
Processes the given JSP parse error.

param
fname Name of the JSP file in which the parse error occurred
param
line Parse error line number
param
column Parse error column number
param
msg Parse error message
param
exception Parse exception

public voidjspError(java.lang.String msg, java.lang.Exception exception)
Processes the given JSP parse error.

param
msg Parse error message
param
exception Parse exception