|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jml2b.util.Profiler jml2b.exceptions.ErrorHandler
Interface defining how errors are reported to the user.
Constructor Summary | |
ErrorHandler()
|
Method Summary | |
static void |
error(JmlFile f,
int line,
int column,
java.lang.String description)
Indicate an error in the specified file, line and column. |
static int |
getErrorCount()
Return the current error count. |
static int |
getWarningCount()
Return the current warning count. |
static void |
reset()
Reset the error and warnig counters. |
static void |
setHandler(ErrorHandler h)
Set the error handler that should be used. |
static void |
warning(JmlFile f,
int line,
int column,
java.lang.String description)
Indicates an error in the specified file, line and column. |
Methods inherited from class jml2b.util.Profiler |
runGC |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ErrorHandler()
Method Detail |
public static void error(JmlFile f, int line, int column, java.lang.String description)
public static void warning(JmlFile f, int line, int column, java.lang.String description)
public static void reset()
public static int getErrorCount()
public static int getWarningCount()
public static void setHandler(ErrorHandler h)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |