org.inspektr.error
Interface ErrorLogManager

All Known Implementing Classes:
DefaultErrorLogManager

public interface ErrorLogManager

Interface for an error reporting facility that utilizes one or more ErrorReporter to record application errors.

Since:
1.0
Version:
$Revision: 1.3 $ $Date: 2007/07/11 20:48:46 $
Author:
Alice Leung

Method Summary
 java.util.List<ErrorReporter> getErrorReporters()
          Returns the list of ErrorReporter associated with this manager.
 void recordError(java.lang.String errorDescription)
          Records the specified error.
 void recordError(java.lang.Throwable throwable)
          Records the specified throwable.
 

Method Detail

recordError

void recordError(java.lang.String errorDescription)
Records the specified error.

Parameters:
errorDescription - The error description.

recordError

void recordError(java.lang.Throwable throwable)
Records the specified throwable.

Parameters:
throwable - The throwable describing the error.

getErrorReporters

java.util.List<ErrorReporter> getErrorReporters()
Returns the list of ErrorReporter associated with this manager.

Returns:
list of ErrorReporters.


Copyright © 2007-2009. All Rights Reserved.