com.servingxml.components.error
Class CatchErrorImpl

java.lang.Object
  extended by com.servingxml.components.error.CatchErrorImpl
All Implemented Interfaces:
CatchError

public class CatchErrorImpl
extends java.lang.Object
implements CatchError


Field Summary
 
Fields inherited from interface com.servingxml.components.error.CatchError
DEFAULT_ON_ERROR
 
Constructor Summary
CatchErrorImpl(Task[] tasks)
           
 
Method Summary
 void catchError(ServiceContext context, Flow flow, ServingXmlException fault, StreamSink streamSink)
          Invoked when the fault occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchErrorImpl

public CatchErrorImpl(Task[] tasks)
Method Detail

catchError

public void catchError(ServiceContext context,
                       Flow flow,
                       ServingXmlException fault,
                       StreamSink streamSink)
Description copied from interface: CatchError
Invoked when the fault occurs.

Specified by:
catchError in interface CatchError