|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.wsee.reliability2.faults.WsrmFaultMsg
public abstract class WsrmFaultMsg
Field Summary | |
---|---|
protected WsrmConstants.FaultCode |
code
WSRM Specification: fault code, minus any SOAP prefix |
protected String |
reason
WSRM Specification: The english language reason element |
protected String |
subCode
WSRM Specification: fault subcode, minus any WSRM prefix |
protected SequenceFaultMsgType |
type
Note, subclasses will handle detail |
Constructor Summary | |
---|---|
protected |
WsrmFaultMsg(WsrmConstants.RMVersion rmVersion,
WsrmConstants.FaultCode code,
String subCode,
String reason,
SequenceFaultMsgType type)
|
Method Summary | |
---|---|
WsrmConstants.FaultCode |
getCode()
|
String |
getCodeLocalName(WsrmConstants.SOAPVersion soapVersion)
|
QName |
getCodeQName(WsrmConstants.SOAPVersion soapVersion)
|
String |
getCodeQualifiedName(WsrmConstants.SOAPVersion soapVersion)
|
String |
getReason()
|
WsrmConstants.RMVersion |
getRmVersion()
|
String |
getSubCodeLocalName()
|
QName |
getSubCodeQName()
|
static QName |
getSubCodeQName(Class clazz,
WsrmConstants.RMVersion rmVersion)
Get the QName representing the fault with the given class, conforming to the given WS-RM version. |
static List<QName> |
getSubCodeQNames(Class clazz)
Get a list of QName objects representing the fault with the given class and all possible versions of WS-RM |
String |
getSubCodeQualifiedName()
|
SequenceFaultMsgType |
getType()
|
abstract void |
read(SOAPMessage msg)
|
abstract void |
readDetail(Element element)
|
void |
setReason(String reason)
|
String |
toString()
|
abstract void |
write(SOAPMessage msg)
|
abstract void |
writeDetail(Element element)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected WsrmConstants.FaultCode code
protected String subCode
protected String reason
protected SequenceFaultMsgType type
Constructor Detail |
---|
protected WsrmFaultMsg(WsrmConstants.RMVersion rmVersion, WsrmConstants.FaultCode code, String subCode, String reason, SequenceFaultMsgType type)
Method Detail |
---|
public WsrmConstants.RMVersion getRmVersion()
public WsrmConstants.FaultCode getCode()
public String getCodeQualifiedName(WsrmConstants.SOAPVersion soapVersion)
public QName getCodeQName(WsrmConstants.SOAPVersion soapVersion)
public String getCodeLocalName(WsrmConstants.SOAPVersion soapVersion)
public String getSubCodeQualifiedName()
public QName getSubCodeQName()
public String getSubCodeLocalName()
public String getReason()
public void setReason(String reason)
public SequenceFaultMsgType getType()
public static QName getSubCodeQName(Class clazz, WsrmConstants.RMVersion rmVersion)
clazz
- WsrmFaultMsg or subclassrmVersion
- Version of WS-RM to which the header will conform.
RuntimeException
- if the given class is not a WsrmFaultMsg subclasspublic static List<QName> getSubCodeQNames(Class clazz)
clazz
- WsrmFaultMsg or subclass
RuntimeException
- if the given class is not a WsrmFaultMsg subclasspublic abstract void read(SOAPMessage msg) throws SequenceFaultException
SequenceFaultException
public abstract void write(SOAPMessage msg) throws SequenceFaultException
SequenceFaultException
public abstract void readDetail(Element element) throws SequenceFaultException
SequenceFaultException
public abstract void writeDetail(Element element) throws SequenceFaultException
SequenceFaultException
public String toString()
toString
in class Object
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |