Class 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 of AbstractPhaseInterceptor to handle technical errors like ConnectException or SocketTimeoutException.
    Since:
    3.0.0
    • Field Detail

      • service

        private final String service
    • Constructor Detail

      • TechnicalExceptionInterceptor

        public TechnicalExceptionInterceptor​(String service)
        The constructor.
        Parameters:
        service - the name (e.g. qualified name) of the Service that failed.
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.message.Message message)
                           throws org.apache.cxf.interceptor.Fault
        Throws:
        org.apache.cxf.interceptor.Fault