Apache CXF API

org.apache.cxf.ws.rm
Class SequenceFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.cxf.ws.rm.SequenceFault
All Implemented Interfaces:
Serializable

public class SequenceFault
extends Exception

Holder for SequenceFault information.

See Also:
Serialized Form

Constructor Summary
SequenceFault(String message)
           
 
Method Summary
 Object getDetail()
          Get Fault detail object, which may be an Element, an Identifier, or a SequenceAcknowledgement.
 Element getExtraDetail()
          Get extra element appended to main fault detail.
 QName getFaultCode()
           
 String getReason()
           
 boolean isSender()
           
 void setDetail(Element d)
          Set detail content as arbitrary element.
 void setDetail(Identifier d)
          Set detail content as Identifier.
 void setDetail(SequenceAcknowledgement d)
          Set detail content as SequenceAcknowledgement.
 void setExtraDetail(Element ex)
          Set extra element appended to main fault detail.
 void setFaultCode(QName faultCode)
           
 void setSender(boolean s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceFault

public SequenceFault(String message)
Method Detail

isSender

public boolean isSender()

setSender

public void setSender(boolean s)

getReason

public String getReason()

getFaultCode

public QName getFaultCode()

setFaultCode

public void setFaultCode(QName faultCode)

setDetail

public void setDetail(Element d)
Set detail content as arbitrary element.

Parameters:
d - (null if none)

setDetail

public void setDetail(Identifier d)
Set detail content as Identifier.

Parameters:
d - (null if none)

setDetail

public void setDetail(SequenceAcknowledgement d)
Set detail content as SequenceAcknowledgement.

Parameters:
d - (null if none)

getDetail

public Object getDetail()
Get Fault detail object, which may be an Element, an Identifier, or a SequenceAcknowledgement.

Returns:
detail object (null if none)

getExtraDetail

public Element getExtraDetail()
Get extra element appended to main fault detail.

Returns:
element (null if none)

setExtraDetail

public void setExtraDetail(Element ex)
Set extra element appended to main fault detail.

Parameters:
ex - (null if none)

Apache CXF API

Apache CXF