errorwriter.java

来自「xstream是一个把java object序列化成xml文件的开源库,轻便好用」· Java 代码 · 共 21 行

JAVA
21
字号
package com.thoughtworks.xstream.converters;/** * 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 */public interface ErrorWriter {    /**     * Add some information to the error message.     *     * @param name        Something to identify the type of information (e.g. 'XPath').     * @param information Detail of the message (e.g. '/blah/moo[3]'     */    void add(String name, String information);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?