Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.wsee.reliability2.faults
Class SequenceFaultMsg

java.lang.Object
  extended by weblogic.wsee.reliability2.faults.WsrmFaultMsg
      extended by weblogic.wsee.reliability2.faults.SequenceFaultMsg

public abstract class SequenceFaultMsg
extends WsrmFaultMsg

Base Sequence Fault message. This fault message gives a detail element containing the sequence ID for the sequence. Subclasses that need different detail elements will need to override writeDetail.


Field Summary
 
Fields inherited from class weblogic.wsee.reliability2.faults.WsrmFaultMsg
code, reason, subCode, type
 
Constructor Summary
SequenceFaultMsg(WsrmConstants.RMVersion rmVersion, WsrmConstants.FaultGeneratedBy generatedBy, WsrmConstants.FaultCode code, String subCode, String reason, SequenceFaultMsgType type)
          Creates a new sequence fault message.
 
Method Summary
 WsrmConstants.FaultGeneratedBy getGeneratedBy()
           
 String getSequenceId()
           
 void read(SOAPMessage msg)
           
 void readDetail(Element element)
          By default, reads the sequence ID in an Identifier element.
 void setSequenceId(String seqId)
           
 String toString()
           
 void write(SOAPMessage msg)
           
 void writeDetail(Element element)
          By default, writes the sequence ID in an Identifier element.
 
Methods inherited from class weblogic.wsee.reliability2.faults.WsrmFaultMsg
getCode, getCodeLocalName, getCodeQName, getCodeQualifiedName, getReason, getRmVersion, getSubCodeLocalName, getSubCodeQName, getSubCodeQName, getSubCodeQNames, getSubCodeQualifiedName, getType, setReason
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceFaultMsg

public SequenceFaultMsg(WsrmConstants.RMVersion rmVersion,
                        WsrmConstants.FaultGeneratedBy generatedBy,
                        WsrmConstants.FaultCode code,
                        String subCode,
                        String reason,
                        SequenceFaultMsgType type)
Creates a new sequence fault message.

Method Detail

getGeneratedBy

public WsrmConstants.FaultGeneratedBy getGeneratedBy()

setSequenceId

public void setSequenceId(String seqId)

getSequenceId

public String getSequenceId()

read

public void read(SOAPMessage msg)
          throws SequenceFaultException
Specified by:
read in class WsrmFaultMsg
Throws:
SequenceFaultException

write

public void write(SOAPMessage msg)
           throws SequenceFaultException
Specified by:
write in class WsrmFaultMsg
Throws:
SequenceFaultException

writeDetail

public void writeDetail(Element element)
                 throws SequenceFaultException
By default, writes the sequence ID in an Identifier element. If a subclass needs different detail contents, the should override this method.

Specified by:
writeDetail in class WsrmFaultMsg
Parameters:
element -
Throws:
SequenceFaultException

readDetail

public void readDetail(Element element)
                throws SequenceFaultException
By default, reads the sequence ID in an Identifier element. If a subclass needs different detail contents, the should override this method.

Specified by:
readDetail in class WsrmFaultMsg
Parameters:
element -
Throws:
SequenceFaultException

toString

public String toString()
Overrides:
toString in class WsrmFaultMsg

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02