org.apache.jasper.compiler
public class JavacErrorDetail extends Object
Constructor Summary | |
---|---|
JavacErrorDetail(String javaFileName, int javaLineNum, StringBuffer errMsg)
Constructor.
| |
JavacErrorDetail(String javaFileName, int javaLineNum, String jspFileName, int jspBeginLineNum, StringBuffer errMsg)
Constructor.
| |
JavacErrorDetail(String javaFileName, int javaLineNum, String jspFileName, int jspBeginLineNum, StringBuffer errMsg, JspCompilationContext ctxt) |
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.
|
Parameters: javaFileName The name of the Java file in which the compilation error occurred javaLineNum The compilation error line number errMsg The compilation error message
Parameters: javaFileName The name of the Java file in which the compilation error occurred javaLineNum The compilation error line number jspFileName The name of the JSP file from which the Java source file was generated jspBeginLineNum The start line number of the JSP element responsible for the compilation error errMsg The compilation error message
Returns: Compilation error message
Returns: Java source file name
Returns: Compilation error line number
Returns: Start line number of the JSP element responsible for the compilation error
Returns: Extract of JSP where error occurred
Returns: JSP file from which the Java source file was generated.