org.apache.cxf.binding.corba.interceptors
Class CorbaStreamFaultOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.binding.corba.interceptors.CorbaStreamFaultOutInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class CorbaStreamFaultOutInterceptor
extends AbstractPhaseInterceptor<Message>


Constructor Summary
CorbaStreamFaultOutInterceptor()
           
 
Method Summary
protected  RaisesType findRaisesType(List<RaisesType> exList, String exClassName)
           
protected  DataWriter<javax.xml.stream.XMLStreamWriter> getDataWriter(CorbaMessage message)
           
protected  MessagePartInfo getFaultMessagePartInfo(OperationInfo opInfo, QName faultName)
           
protected  RaisesType getRaisesType(OperationType opType, String exClassName, Throwable ex)
           
 void handleMessage(Message msg)
          Intercepts a message.
protected  void setSystemException(CorbaMessage message, Throwable ex, CorbaDestination dest)
           
protected  void setUserException(CorbaMessage message, Throwable ex, RaisesType exType, OperationInfo opInfo, DataWriter<javax.xml.stream.XMLStreamWriter> writer, ServiceInfo service)
           
protected  void setUserExceptionFromFaultDetail(CorbaMessage message, Element faultDetail, RaisesType exType, OperationInfo opInfo, DataWriter<javax.xml.stream.XMLStreamWriter> writer, ServiceInfo service)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaStreamFaultOutInterceptor

public CorbaStreamFaultOutInterceptor()
Method Detail

handleMessage

public void handleMessage(Message msg)
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.


getRaisesType

protected RaisesType getRaisesType(OperationType opType,
                                   String exClassName,
                                   Throwable ex)

findRaisesType

protected RaisesType findRaisesType(List<RaisesType> exList,
                                    String exClassName)

setSystemException

protected void setSystemException(CorbaMessage message,
                                  Throwable ex,
                                  CorbaDestination dest)

setUserException

protected void setUserException(CorbaMessage message,
                                Throwable ex,
                                RaisesType exType,
                                OperationInfo opInfo,
                                DataWriter<javax.xml.stream.XMLStreamWriter> writer,
                                ServiceInfo service)
                         throws Exception
Throws:
Exception

setUserExceptionFromFaultDetail

protected void setUserExceptionFromFaultDetail(CorbaMessage message,
                                               Element faultDetail,
                                               RaisesType exType,
                                               OperationInfo opInfo,
                                               DataWriter<javax.xml.stream.XMLStreamWriter> writer,
                                               ServiceInfo service)
                                        throws Exception
Throws:
Exception

getDataWriter

protected DataWriter<javax.xml.stream.XMLStreamWriter> getDataWriter(CorbaMessage message)

getFaultMessagePartInfo

protected MessagePartInfo getFaultMessagePartInfo(OperationInfo opInfo,
                                                  QName faultName)


Apache CXF