eteg.sinon.listener
Interface ErrorListener


public interface ErrorListener

Interface implemented by classes that handle error during the execution of a collector. Implementations of this interface must have a public, static method named getInstance that returns an instance of the class.

Version:
$Revision: 1.2 $
Author:
Thiago H. de Paula Figueiredo, Last modified by $Author: thiagohp $

Method Summary
 ErrorResponse onError(SinonException exception)
          Handles an error ocurred during the execution of a collector and returns what action to take.
 

Method Detail

onError

ErrorResponse onError(SinonException exception)
Handles an error ocurred during the execution of a collector and returns what action to take.

Parameters:
exception - a SinonException describing the error.
Returns:
a ErrorResponse instance.


Copyright © 2004-2005 ETEG Internet Ltda.. All Rights Reserved.