public class ErrorDispatcher
extends java.lang.Object
Constructor and Description |
---|
ErrorDispatcher(boolean jspcMode) |
Modifier and Type | Method and Description |
---|---|
static JavacErrorDetail |
createJavacError(java.lang.String fname,
Node.Nodes page,
java.lang.StringBuilder errMsgBuf,
int lineNum) |
void |
javacError(JavacErrorDetail[] javacErrors) |
void |
javacError(java.lang.String errorReport,
java.lang.Exception e) |
void |
jspError(java.lang.Exception e) |
void |
jspError(org.apache.jasper.compiler.Mark where,
java.lang.Exception e) |
void |
jspError(org.apache.jasper.compiler.Mark where,
java.lang.String errCode) |
void |
jspError(org.apache.jasper.compiler.Mark where,
java.lang.String errCode,
java.lang.String... args) |
void |
jspError(org.apache.jasper.compiler.Node n,
java.lang.String errCode) |
void |
jspError(org.apache.jasper.compiler.Node n,
java.lang.String errCode,
java.lang.String... args) |
void |
jspError(org.apache.jasper.compiler.Node n,
java.lang.String errCode,
java.lang.String arg,
java.lang.Exception e) |
void |
jspError(java.lang.String errCode) |
void |
jspError(java.lang.String errCode,
java.lang.String... args) |
void |
jspError(java.lang.String errCode,
java.lang.String arg,
java.lang.Exception e) |
static JavacErrorDetail[] |
parseJavacMessage(Node.Nodes pageNodes,
java.lang.String errMsg,
java.lang.String fname) |
void |
throwException(org.apache.jasper.compiler.Mark where,
JasperException je)
Creates and throws a new exception from the given JasperException,
by prepending the given location information (containing file name,
line number, and column number) to the message of the given exception,
and copying the stacktrace of the given exception to the new exception.
|
public void jspError(java.lang.String errCode) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Mark where, java.lang.String errCode) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Mark where, java.lang.Exception e) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Node n, java.lang.String errCode) throws JasperException
JasperException
public void jspError(java.lang.String errCode, java.lang.String... args) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Mark where, java.lang.String errCode, java.lang.String... args) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Node n, java.lang.String errCode, java.lang.String... args) throws JasperException
JasperException
public void jspError(java.lang.Exception e) throws JasperException
JasperException
public void jspError(java.lang.String errCode, java.lang.String arg, java.lang.Exception e) throws JasperException
JasperException
public void jspError(org.apache.jasper.compiler.Node n, java.lang.String errCode, java.lang.String arg, java.lang.Exception e) throws JasperException
JasperException
public void throwException(org.apache.jasper.compiler.Mark where, JasperException je) throws JasperException
where
- The location information (containing file name,
line number, and column number) to prependje
- The JasperException to amendJasperException
public void javacError(JavacErrorDetail[] javacErrors) throws JasperException
JasperException
public void javacError(java.lang.String errorReport, java.lang.Exception e) throws JasperException
JasperException
public static JavacErrorDetail[] parseJavacMessage(Node.Nodes pageNodes, java.lang.String errMsg, java.lang.String fname) throws java.io.IOException, JasperException
java.io.IOException
JasperException
public static JavacErrorDetail createJavacError(java.lang.String fname, Node.Nodes page, java.lang.StringBuilder errMsgBuf, int lineNum) throws JasperException
fname
- page
- errMsgBuf
- lineNum
- JasperException