Package org.apache.cxf.logging
Class NoOpFaultListener
java.lang.Object
org.apache.cxf.logging.NoOpFaultListener
- All Implemented Interfaces:
FaultListener
Utility FaultListener for blocking the default PhaseInterceptorChain fault logging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
faultOccurred
(Exception exception, String description, Message message) Handle the occurred exception.
-
Constructor Details
-
NoOpFaultListener
public NoOpFaultListener()
-
-
Method Details
-
faultOccurred
Description copied from interface:FaultListener
Handle the occurred exception.- Specified by:
faultOccurred
in 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:
true
if CXF should use default handling for this exception which normally is just logging the exception,false
if CXF not should do any logging.
-