public class JavacErrorDetail
extends java.lang.Object
Constructor and Description |
---|
JavacErrorDetail(java.lang.String javaFileName,
int javaLineNum,
java.lang.StringBuilder errMsg)
Constructor.
|
JavacErrorDetail(java.lang.String javaFileName,
int javaLineNum,
java.lang.String jspFileName,
int jspBeginLineNum,
java.lang.StringBuilder errMsg,
JspCompilationContext ctxt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Gets the compilation error message.
|
java.lang.String |
getJavaFileName()
Gets the name of the Java source file in which the compilation error
occurred.
|
int |
getJavaLineNumber()
Gets the compilation error line number.
|
int |
getJspBeginLineNumber()
Gets the start line number (in the JSP file) of the JSP element
responsible for the compilation error.
|
java.lang.String |
getJspExtract()
Gets the extract of the JSP that corresponds to this message.
|
java.lang.String |
getJspFileName()
Gets the name of the JSP file from which the Java source file was
generated.
|
public JavacErrorDetail(java.lang.String javaFileName, int javaLineNum, java.lang.StringBuilder errMsg)
javaFileName
- The name of the Java file in which the
compilation error occurredjavaLineNum
- The compilation error line numbererrMsg
- The compilation error messagepublic JavacErrorDetail(java.lang.String javaFileName, int javaLineNum, java.lang.String jspFileName, int jspBeginLineNum, java.lang.StringBuilder errMsg, JspCompilationContext ctxt)
javaFileName
- The name of the Java file in which the
compilation error occurredjavaLineNum
- The compilation error line numberjspFileName
- The name of the JSP file from which the Java source
file was generatedjspBeginLineNum
- The start line number of the JSP element
responsible for the compilation errorerrMsg
- The compilation error messagectxt
- The compilation contextpublic java.lang.String getJavaFileName()
public int getJavaLineNumber()
public java.lang.String getJspFileName()
public int getJspBeginLineNumber()
public java.lang.String getErrorMessage()
public java.lang.String getJspExtract()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.