|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vladnput.ParseErrors
public class ParseErrors
Class for storing errors found during the parsing of a Vlad configuration file.
Constructor Summary | |
---|---|
ParseErrors()
|
Method Summary | |
---|---|
void |
add(java.lang.String msg)
Add the error message. |
void |
add(java.lang.Throwable t)
Add the error message from t.getMessage(). |
java.util.Iterator<java.lang.String> |
getErrors()
Allows iterating over the errors. |
boolean |
hasErrors()
Check if this object has any errors. |
void |
reportErrors(java.io.PrintStream out)
|
void |
reportErrors(java.io.PrintWriter out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParseErrors()
Method Detail |
---|
public void add(java.lang.Throwable t)
t
- Throwable errorpublic void add(java.lang.String msg)
msg
- Error messagepublic boolean hasErrors()
public java.util.Iterator<java.lang.String> getErrors()
public void reportErrors(java.io.PrintWriter out)
public void reportErrors(java.io.PrintStream out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |