Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » compiler » [javadoc | source]
org.apache.jasper.compiler
public class: ErrorDispatcher [javadoc | source]
java.lang.Object
   org.apache.jasper.compiler.ErrorDispatcher
Class responsible for dispatching JSP parse and javac compilation errors to the configured error handler. This class is also responsible for localizing any error codes before they are passed on to the configured error handler. In the case of a Java compilation error, the compiler error message is parsed into an array of JavacErrorDetail instances, which is passed on to the configured error handler.
Nested Class Summary:
static class  ErrorDispatcher.ErrorVisitor   
Constructor:
 public ErrorDispatcher(boolean jspcMode) 
Method from org.apache.jasper.compiler.ErrorDispatcher Summary:
createJavacError,   createJavacError,   javacError,   javacError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   jspError,   parseJavacErrors
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.compiler.ErrorDispatcher Detail:
 public static JavacErrorDetail createJavacError(String fname,
    Node.Nodes page,
    StringBuffer errMsgBuf,
    int lineNum) throws JasperException 
 public static JavacErrorDetail createJavacError(String fname,
    Node.Nodes page,
    StringBuffer errMsgBuf,
    int lineNum,
    JspCompilationContext ctxt) throws JasperException 
 public  void javacError(JavacErrorDetail[] javacErrors) throws JasperException 
 public  void javacError(String errorReport,
    Exception e) throws JasperException 
 public  void jspError(String errCode) throws JasperException 
 public  void jspError(Exception e) throws JasperException 
 public  void jspError(Mark where,
    String errCode) throws JasperException 
 public  void jspError(Node n,
    String errCode) throws JasperException 
 public  void jspError(String errCode,
    String arg) throws JasperException 
 public  void jspError(Mark where,
    String errCode,
    String arg) throws JasperException 
 public  void jspError(Node n,
    String errCode,
    String arg) throws JasperException 
 public  void jspError(String errCode,
    String arg1,
    String arg2) throws JasperException 
 public  void jspError(String errCode,
    String arg,
    Exception e) throws JasperException 
 public  void jspError(String errCode,
    String arg1,
    String arg2,
    String arg3) throws JasperException 
 public  void jspError(Mark where,
    String errCode,
    String arg1,
    String arg2) throws JasperException 
 public  void jspError(Node n,
    String errCode,
    String arg1,
    String arg2) throws JasperException 
 public  void jspError(Node n,
    String errCode,
    String arg,
    Exception e) throws JasperException 
 public  void jspError(Mark where,
    String errCode,
    String arg1,
    String arg2,
    String arg3) throws JasperException 
 public  void jspError(Node n,
    String errCode,
    String arg1,
    String arg2,
    String arg3) throws JasperException 
 public static JavacErrorDetail[] parseJavacErrors(String errMsg,
    String fname,
    Node.Nodes page) throws IOException, JasperException 
    Parses the given error message into an array of javac compilation error messages (one per javac compilation error line number).