JavacErrorDetailpublic class JavacErrorDetail extends Object Class providing details about a javac compilation error. |
Fields Summary |
---|
private String | javaFileName | private int | javaLineNum | private String | jspFileName | private int | jspBeginLineNum | private StringBuffer | errMsg |
Constructors Summary |
---|
public JavacErrorDetail(String javaFileName, int javaLineNum, StringBuffer errMsg)Constructor.
this.javaFileName = javaFileName;
this.javaLineNum = javaLineNum;
this.errMsg = errMsg;
this.jspBeginLineNum = -1;
| public JavacErrorDetail(String javaFileName, int javaLineNum, String jspFileName, int jspBeginLineNum, StringBuffer errMsg)Constructor.
this(javaFileName, javaLineNum, errMsg);
this.jspFileName = jspFileName;
this.jspBeginLineNum = jspBeginLineNum;
|
Methods Summary |
---|
public java.lang.String | getErrorMessage()Gets the compilation error message.
return this.errMsg.toString();
| public java.lang.String | getJavaFileName()Gets the name of the Java source file in which the compilation error
occurred.
return this.javaFileName;
| public int | getJavaLineNumber()Gets the compilation error line number.
return this.javaLineNum;
| public int | getJspBeginLineNumber()Gets the start line number (in the JSP file) of the JSP element
responsible for the compilation error.
return this.jspBeginLineNum;
| public java.lang.String | getJspFileName()Gets the name of the JSP file from which the Java source file was
generated.
return this.jspFileName;
|
|