com.amazonaws.mturk.filter
Class ErrorProcessingFilter

java.lang.Object
  extended by com.amazonaws.mturk.filter.Filter
      extended by com.amazonaws.mturk.filter.ErrorProcessingFilter

public class ErrorProcessingFilter
extends Filter

Default Filter provided for handling errors got from wsdl operation calls


Constructor Summary
ErrorProcessingFilter()
           
 
Method Summary
 Reply execute(Message m)
          Implement this to perform processing on Message and Reply in your Filter
protected  void processErrors(java.lang.Object errorObject, java.lang.String requestId)
          Process errors by throwing ServiceExceptions.
 
Methods inherited from class com.amazonaws.mturk.filter.Filter
isRemovable, linkFilters, passMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorProcessingFilter

public ErrorProcessingFilter()
Method Detail

execute

public Reply execute(Message m)
Description copied from class: Filter
Implement this to perform processing on Message and Reply in your Filter

Specified by:
execute in class Filter
Parameters:
m - - request message got from previous filter
Returns:
result of the execution of this filter throws ServiceException on errors

processErrors

protected void processErrors(java.lang.Object errorObject,
                             java.lang.String requestId)
Process errors by throwing ServiceExceptions.

Parameters:
errorObject -
requestId -