tom.platform
Class RuntimeAlert
java.lang.Object
tom.platform.RuntimeAlert
public class RuntimeAlert
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeAlert
public RuntimeAlert()
addWarning
public void addWarning(String message,
String file,
int line)
- Add the warning only if it is not already in the list
addError
public void addError(String message,
String file,
int line)
- Add the error only if it is not already in the list
getNbErrors
public int getNbErrors()
getNbWarnings
public int getNbWarnings()
hasErrors
public boolean hasErrors()
hasWarnings
public boolean hasWarnings()
getErrors
public tom.platform.adt.platformalert.types.AlertList getErrors()
getWarnings
public tom.platform.adt.platformalert.types.AlertList getWarnings()
concat
public void concat(RuntimeAlert newErrors)
add
public void add(PlatformLogRecord record)
- Parameters:
record
-