Class ClearExceptionService
java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.NullService
com.adaptris.core.services.exception.ClearExceptionService
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
,Service
,StateManagedComponent
@ComponentProfile(summary="Clear any exception stored against object metadata",
tag="service,error-handling",
since="3.11.0")
public class ClearExceptionService
extends NullService
Clears any exception stored against
CoreConstants.OBJ_METADATA_EXCEPTION
.In the adapter configuration file this class is aliased as clear-exception-service which is the preferred alternative to the fully qualified classname when building your configuration.
-
Field Summary
Fields inherited from class com.adaptris.core.ServiceImp
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doService
(AdaptrisMessage msg) Apply the service to the message.Methods inherited from class com.adaptris.core.NullService
closeService, initService, prepare
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId, start, stop
-
Constructor Details
-
ClearExceptionService
public ClearExceptionService()
-
-
Method Details
-
doService
Description copied from interface:Service
Apply the service to the message.
- Specified by:
doService
in interfaceService
- Overrides:
doService
in classNullService
- Parameters:
msg
- theAdaptrisMessage
to process- Throws:
ServiceException
- wrapping any underlyingException
s
-