| java.lang.Object edu.rice.cs.drjava.model.compiler.CompilerError edu.rice.cs.drjava.model.junit.JUnitError
JUnitError | public class JUnitError extends CompilerError implements Comparable,Serializable(Code) | | A class to represent JUnit errors. Having this class allows DrJava
to make the errors as legible as possible.
version: $Id: JUnitError.java 4255 2007-08-28 19:17:37Z mgricken $ |
JUnitError | public JUnitError(File file, int lineNumber, int startColumn, String message, boolean isWarning, String test, String className, String stackTrace)(Code) | | Constructor.
Parameters: file - the file where the error occurred Parameters: lineNumber - the line number of the error Parameters: startColumn - the starting column of the error Parameters: message - the error message Parameters: isWarning - true if the error is a warning Parameters: test - the name of the test that failed |
JUnitError | public JUnitError(String message, boolean isWarning, String test)(Code) | | Constructor for an error with no associated location. This constructor also
provides a default stackTrace.
Parameters: message - the error message Parameters: isWarning - true if the error is a warning Parameters: test - the name of the test that failed |
className | public String className()(Code) | | Gets the class name
the class name |
stackTrace | public String stackTrace()(Code) | | All JUnit errors are Throwables that have been thrown, so all have
a stack trace
the stack trace associated with the error |
testName | public String testName()(Code) | | Gets the test name
the test name |
|
|