com.gridsystems.config
Interface ErrorListener

All Known Implementing Classes:
AbstractConsoleView, ConfigPanel, JVMConsoleView, TomcatConsoleView

public interface ErrorListener

Listens on errors occurrences.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Method Summary
 void clearErrors()
          The listener should remove all stored data about errors.
 void updateError(java.lang.String id, java.lang.String message, boolean add)
          Performs an action on an error.
 

Method Detail

updateError

void updateError(java.lang.String id,
                 java.lang.String message,
                 boolean add)
Performs an action on an error. It receives an error identifier and an error message. Comparisons should be done only on the identifier, as the message can change.

Parameters:
id - The error identifier
message - The error message
add - A flag that indicates if the error must be added(true) or remove

clearErrors

void clearErrors()
The listener should remove all stored data about errors.



Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.