Package org.apache.cxf.interceptor
Class FaultOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.FaultOutInterceptor
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceMarker interfaces for Exceptions that have a getFaultInfo() method that returns some sort of object that the FaultOutInterceptor can marshal into a fault detail element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetFaultBean(Throwable cause, FaultInfo faultPart, Message message) getFaultForClass(BindingOperationInfo op, Class<?> class1) Find the correct Fault part for a particular exception.voidhandleMessage(Message message) Intercepts a message.Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
FaultOutInterceptor
public FaultOutInterceptor()
-
-
Method Details
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
getFaultBean
-
getFaultForClass
Find the correct Fault part for a particular exception.- Parameters:
op-class1-
-