public class FaultOutInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Class and Description |
---|---|
static interface |
FaultOutInterceptor.FaultInfoException
Marker 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 and Description |
---|
FaultOutInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getFaultBean(Throwable cause,
FaultInfo faultPart,
Message message) |
FaultInfo |
getFaultForClass(BindingOperationInfo op,
Class<?> class1)
Find the correct Fault part for a particular exception.
|
void |
handleMessage(Message message)
Intercepts a message.
|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public void handleMessage(Message message) throws Fault
Interceptor
Fault
public FaultInfo getFaultForClass(BindingOperationInfo op, Class<?> class1)
op
- class1
- Apache CXF