KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > util > log > ErrorAware


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE file.
7  */

8 package org.jivesoftware.util.log;
9
10 /**
11  * Interface implemented by components that wish to
12  * delegate ErrorHandling to an ErrorHandler.
13  *
14  * @author <a HREF="mailto:peter@apache.org">Peter Donald</a>
15  */

16 public interface ErrorAware {
17     /**
18      * Provide component with ErrorHandler.
19      *
20      * @param errorHandler the errorHandler
21      */

22     void setErrorHandler(ErrorHandler errorHandler);
23 }
24
Popular Tags