com.thoughtworks.xstream.converters
Interface ErrorWriter
- All Known Implementing Classes:
- AbstractReflectionConverter.DuplicateFieldException, ConversionException, JavaBeanConverter.DuplicateFieldException
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.
- Author:
- Joe Walnes
Method Summary |
void |
add(java.lang.String name,
java.lang.String information)
Add some information to the error message. |
add
void add(java.lang.String name,
java.lang.String information)
- Add some information to the error message.
- Parameters:
name
- Something to identify the type of information (e.g. 'XPath').information
- Detail of the message (e.g. '/blah/moo[3]'
Joe Walnes, http://xstream.codehaus.org/