|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.model.DJError
edu.rice.cs.drjava.model.compiler.CompilerError
public class CompilerError
A class to represent source errors and warnings generated by the compiler. This class enables DrJava to highlight compiler error text.
Constructor Summary | |
---|---|
CompilerError(File file,
int lineNumber,
int startColumn,
String message,
boolean isWarning)
Constructor. |
|
CompilerError(File file,
String message,
boolean isWarning)
Constructor for an DJError with an associated file but no location in the source |
|
CompilerError(String message,
boolean isWarning)
Constructor for CompilerErrors without files. |
Method Summary |
---|
Methods inherited from class edu.rice.cs.drjava.model.DJError |
---|
compareTo, file, fileName, getFileMessage, getLineMessage, hasNoLocation, isWarning, lineNumber, message, startColumn, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompilerError(File file, int lineNumber, int startColumn, String message, boolean isWarning)
file
- the file where the error occurredlineNumber
- the line number of the errorstartColumn
- the starting column of the errormessage
- the error messagepublic CompilerError(File file, String message, boolean isWarning)
public CompilerError(String message, boolean isWarning)
message
- the error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |