org.apache.hivemind
Interface ErrorLog

All Known Implementing Classes:
ErrorLogImpl

public interface ErrorLog

A wrapper around ErrorHandler and Logfor the most common case: reporting recoverable errors. The point is that most services can use a single property of type ErrorLog, rather than a pair of properties (ErrorHandler and Log).

Since:
1.1
Author:
Howard M. Lewis Ship

Method Summary
 void error(java.lang.String message, Location location, java.lang.Throwable cause)
          Invokes ErrorHandler.error(org.apache.commons.logging.Log, String, Location, Throwable).
 

Method Detail

error

void error(java.lang.String message,
           Location location,
           java.lang.Throwable cause)
Invokes ErrorHandler.error(org.apache.commons.logging.Log, String, Location, Throwable).



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.