Class TechnicalExceptionInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
- com.devonfw.module.cxf.common.impl.client.interceptor.TechnicalExceptionInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class TechnicalExceptionInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Implementation ofAbstractPhaseInterceptor
to handle technical errors likeConnectException
orSocketTimeoutException
.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description TechnicalExceptionInterceptor(ServiceClientErrorFactory errorFactory, ServiceContext<?> context)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleMessage(org.apache.cxf.message.Message message)
-
-
-
Constructor Detail
-
TechnicalExceptionInterceptor
public TechnicalExceptionInterceptor(ServiceClientErrorFactory errorFactory, ServiceContext<?> context)
The constructor.- Parameters:
errorFactory
- theServiceClientErrorFactory
.context
- theServiceContext
.
-
-