org.apache.jasper.compiler
Class JavacErrorDetail
java.lang.Object
org.apache.jasper.compiler.JavacErrorDetail
public class JavacErrorDetail
extends java.lang.Object
Class providing details about a javac compilation error.
- Jan Luehe
- Kin-man Chung
JavacErrorDetail(String javaFileName, int javaLineNum, String jspFileName, int jspBeginLineNum, StringBuffer errMsg) - Constructor.
|
JavacErrorDetail(String javaFileName, int javaLineNum, StringBuffer errMsg) - Constructor.
|
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 | getJspFileName() - Gets the name of the JSP file from which the Java source file was
generated.
|
JavacErrorDetail
public JavacErrorDetail(String javaFileName,
int javaLineNum,
String jspFileName,
int jspBeginLineNum,
StringBuffer errMsg)
Constructor.
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 message
JavacErrorDetail
public JavacErrorDetail(String javaFileName,
int javaLineNum,
StringBuffer errMsg)
Constructor.
javaFileName
- The name of the Java file in which the
compilation error occurredjavaLineNum
- The compilation error line numbererrMsg
- The compilation error message
getErrorMessage
public String getErrorMessage()
Gets the compilation error message.
- Compilation error message
getJavaFileName
public String getJavaFileName()
Gets the name of the Java source file in which the compilation error
occurred.
- Java source file name
getJavaLineNumber
public int getJavaLineNumber()
Gets the compilation error line number.
- Compilation error line number
getJspBeginLineNumber
public int getJspBeginLineNumber()
Gets the start line number (in the JSP file) of the JSP element
responsible for the compilation error.
- Start line number of the JSP element responsible for the
compilation error
getJspFileName
public String getJspFileName()
Gets the name of the JSP file from which the Java source file was
generated.
- JSP file from which the Java source file was generated.
Copyright B) 2000 Apache Software Foundation. All Rights Reserved.