com.thoughtworks.xstream.converters.ErrorWriter |
Known Indirect Subclasses |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add some information to the error message.
| |||||||||||
Retrieve information of the error message.
| |||||||||||
Retrieve an iterator over all keys of the error message.
|
Add some information to the error message.
name | something to identify the type of information (e.g. 'XPath'). |
---|---|
information | detail of the message (e.g. '/blah/moo[3]' |
Retrieve information of the error message.
errorKey | the key of the message |
---|
Retrieve an iterator over all keys of the error message.