com.gridsystems.config.tools
Class ErrorSupport

java.lang.Object
  extended by com.gridsystems.config.tools.ErrorSupport

public class ErrorSupport
extends java.lang.Object

Type description.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Constructor Summary
ErrorSupport(Configurator conf)
          Creates a new instance.
 
Method Summary
 void addError(java.lang.String id, java.lang.String message)
          Adds an error message to the messages map.
 void updateError(java.lang.String id, boolean add)
          Notifies the configurator about an error event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorSupport

public ErrorSupport(Configurator conf)
Creates a new instance.

Parameters:
conf - The configurator
Method Detail

addError

public void addError(java.lang.String id,
                     java.lang.String message)
Adds an error message to the messages map.

Parameters:
id - The error identifier
message - The error message

updateError

public void updateError(java.lang.String id,
                        boolean add)
Notifies the configurator about an error event.

Parameters:
id - The error identifier
add - The error action


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