|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorWriter
To aid debugging, some components are passed an ErrorWriter when things go wrong, allowing them to add information to the error message that may be helpful to diagnose problems.
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.String information)
Add some information to the error message. |
java.lang.String |
get(java.lang.String errorKey)
Retrieve information of the error message. |
java.util.Iterator |
keys()
Retrieve an iterator over all keys of the error message. |
Method Detail |
---|
void add(java.lang.String name, java.lang.String information)
name
- something to identify the type of information (e.g. 'XPath').information
- detail of the message (e.g. '/blah/moo[3]'java.lang.String get(java.lang.String errorKey)
errorKey
- the key of the message
java.util.Iterator keys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |