Class DefaultErrorHandler
java.lang.Object
org.apache.jasper.compiler.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
Default implementation of ErrorHandler interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjavacError(String errorReport, Exception exception) Processes the given javac error report and exception.voidjavacError(JavacErrorDetail[] details) Processes the given javac compilation errors.voidProcesses the given JSP parse error.voidProcesses the given JSP parse error.
-
Constructor Details
-
DefaultErrorHandler
DefaultErrorHandler()
-
-
Method Details
-
jspError
public void jspError(String fname, int line, int column, String errMsg, Exception ex) throws JasperException Description copied from interface:ErrorHandlerProcesses the given JSP parse error.- Specified by:
jspErrorin interfaceErrorHandler- Parameters:
fname- Name of the JSP file in which the parse error occurredline- Parse error line numbercolumn- Parse error column numbererrMsg- Parse error messageex- Parse exception- Throws:
JasperException
-
jspError
Description copied from interface:ErrorHandlerProcesses the given JSP parse error.- Specified by:
jspErrorin interfaceErrorHandler- Parameters:
errMsg- Parse error messageex- Parse exception- Throws:
JasperException
-
javacError
Description copied from interface:ErrorHandlerProcesses the given javac compilation errors.- Specified by:
javacErrorin interfaceErrorHandler- Parameters:
details- Array of JavacErrorDetail instances corresponding to the compilation errors- Throws:
JasperException
-
javacError
Processes the given javac error report and exception.- Specified by:
javacErrorin interfaceErrorHandler- Parameters:
errorReport- Compilation error reportexception- Compilation exception- Throws:
JasperException
-