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

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

public class CorbaStreamFaultOutInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>


Constructor Summary
CorbaStreamFaultOutInterceptor()
           
 
Method Summary
protected  RaisesType findRaisesType(List<RaisesType> exList, String exClassName)
           
protected  org.apache.cxf.databinding.DataWriter<javax.xml.stream.XMLStreamWriter> getDataWriter(CorbaMessage message)
           
protected  org.apache.cxf.service.model.MessagePartInfo getFaultMessagePartInfo(org.apache.cxf.service.model.OperationInfo opInfo, QName faultName)
           
protected  RaisesType getRaisesType(OperationType opType, String exClassName, Throwable ex)
           
 void handleMessage(org.apache.cxf.message.Message msg)
           
protected  void setSystemException(CorbaMessage message, Throwable ex, CorbaDestination dest)
           
protected  void setUserException(CorbaMessage message, Throwable ex, RaisesType exType, org.apache.cxf.service.model.OperationInfo opInfo, org.apache.cxf.databinding.DataWriter<javax.xml.stream.XMLStreamWriter> writer, org.apache.cxf.service.model.ServiceInfo service)
           
protected  void setUserExceptionFromFaultDetail(CorbaMessage message, Element faultDetail, RaisesType exType, org.apache.cxf.service.model.OperationInfo opInfo, org.apache.cxf.databinding.DataWriter<javax.xml.stream.XMLStreamWriter> writer, org.apache.cxf.service.model.ServiceInfo service)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, 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(org.apache.cxf.message.Message msg)

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,
                                org.apache.cxf.service.model.OperationInfo opInfo,
                                org.apache.cxf.databinding.DataWriter<javax.xml.stream.XMLStreamWriter> writer,
                                org.apache.cxf.service.model.ServiceInfo service)
                         throws Exception
Throws:
Exception

setUserExceptionFromFaultDetail

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

getDataWriter

protected org.apache.cxf.databinding.DataWriter<javax.xml.stream.XMLStreamWriter> getDataWriter(CorbaMessage message)

getFaultMessagePartInfo

protected org.apache.cxf.service.model.MessagePartInfo getFaultMessagePartInfo(org.apache.cxf.service.model.OperationInfo opInfo,
                                                                               QName faultName)


Apache CXF