Package org.apache.cxf.logging
Class NoOpFaultListener
- java.lang.Object
-
- org.apache.cxf.logging.NoOpFaultListener
-
- All Implemented Interfaces:
FaultListener
public class NoOpFaultListener extends Object implements FaultListener
Utility FaultListener for blocking the default PhaseInterceptorChain fault logging
-
-
Constructor Summary
Constructors Constructor Description NoOpFaultListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfaultOccurred(Exception exception, String description, Message message)Handle the occurred exception.
-
-
-
Method Detail
-
faultOccurred
public boolean faultOccurred(Exception exception, String description, Message message)
Description copied from interface:FaultListenerHandle the occurred exception.- Specified by:
faultOccurredin interfaceFaultListener- Parameters:
exception- The exceptiondescription- A description of where in the service interfaces the exception occurred.message- the message processed while the exception occurred.- Returns:
trueif CXF should use default handling for this exception which normally is just logging the exception,falseif CXF not should do any logging.
-
-