| com.thoughtworks.xstream.converters.ErrorWriter
All known Subclasses: com.thoughtworks.xstream.converters.ConversionException,
ErrorWriter | public interface ErrorWriter (Code) | | 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.
author: Joe Walnes author: Jörg Schaible |
Method Summary | |
void | add(String name, String information) Add some information to the error message.
Parameters: name - something to identify the type of information (e.g. | String | get(String errorKey) Retrieve information of the error message. | Iterator | keys() Retrieve an iterator over all keys of the error message. |
add | void add(String name, String information)(Code) | | Add some information to the error message.
Parameters: name - something to identify the type of information (e.g. 'XPath'). Parameters: information - detail of the message (e.g. '/blah/moo[3]' |
get | String get(String errorKey)(Code) | | Retrieve information of the error message.
Parameters: errorKey - the key of the message the value since: 1.3 |
keys | Iterator keys()(Code) | | Retrieve an iterator over all keys of the error message.
an Iterator since: 1.3 |
|
|