All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.xstream.converters.ErrorReporter Maven / Gradle / Ivy

There is a newer version: 1.4.21
Show newest version
/*
 * Copyright (C) 2011 XStream Committers.
 * All rights reserved.
 *
 * The software in this package is published under the terms of the BSD
 * style license a copy of which has been included with this distribution in
 * the LICENSE.txt file.
 *
 * Created on 15.02.2011 by Joerg Schaible
 */
package com.thoughtworks.xstream.converters;

/**
 * To aid debugging, some components expose themselves as ErrorReporter
 * indicating that they can add information in case of an error..
 * 
 * @author Joerg Schaible
 *
 * @since 1.4
 */
public interface ErrorReporter {
    /**
     * Append context information to an {@link ErrorWriter}.
     * 
     * @param errorWriter the error writer
     * @since 1.4
     */
    void appendErrors(ErrorWriter errorWriter);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy