org.apache.hivemind
Interface ErrorLog

All Known Implementing Classes:
ErrorLogImpl

public interface ErrorLog

A wrapper around ErrorHandlerand 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 {@link org.apache.hivemind.ErrorHandler#error(Log, String, Location, Throwable).
 

Method Detail

error

public void error(java.lang.String message,
                  Location location,
                  java.lang.Throwable cause)
Invokes {@link org.apache.hivemind.ErrorHandler#error(Log, String, Location, Throwable).