|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.compiler.JavacErrorDetail
public class JavacErrorDetail
Class providing details about a javac compilation error.
Constructor Summary | |
---|---|
JavacErrorDetail(String javaFileName,
int javaLineNum,
StringBuilder errMsg)
Constructor. |
|
JavacErrorDetail(String javaFileName,
int javaLineNum,
String jspFileName,
int jspBeginLineNum,
StringBuilder errMsg,
JspCompilationContext ctxt)
Constructor. |
Method Summary | |
---|---|
String |
getErrorMessage()
Gets the compilation error message. |
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. |
String |
getJspExtract()
Gets the extract of the JSP that corresponds to this message. |
String |
getJspFileName()
Gets the name of the JSP file from which the Java source file was generated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavacErrorDetail(String javaFileName, int javaLineNum, 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(String javaFileName, int javaLineNum, String jspFileName, int jspBeginLineNum, 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 contextMethod Detail |
---|
public String getJavaFileName()
public int getJavaLineNumber()
public String getJspFileName()
public int getJspBeginLineNumber()
public String getErrorMessage()
public String getJspExtract()
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |