public interface ErrorWriter
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
String information)
Add some information to the error message.
|
String |
get(String errorKey)
Retrieve information of the error message.
|
Iterator |
keys()
Retrieve an iterator over all keys of the error message.
|
void |
set(String name,
String information)
Set some information to the error message.
|
void add(String name, String information)
name
- something to identify the type of information (e.g. 'XPath').information
- detail of the message (e.g. '/blah/moo[3]'void set(String name, String information)
name
- something to identify the type of information (e.g. 'XPath').information
- detail of the message (e.g. '/blah/moo[3]'String get(String errorKey)
errorKey
- the key of the messageIterator keys()
Copyright © 2004–2017 XStream. All rights reserved.