|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.wsrf.BaseFault
com.ibm.websphere.sib.wsn.faults.UnrecognizedPolicyRequestFault
public class UnrecognizedPolicyRequestFault
This exception class represents the UnrecognizedPolicyRequestFault type defined in the WS-Notification Base Notification schema.
Constructor Summary | |
---|---|
UnrecognizedPolicyRequestFault()
Default constructor If this constructor is used, a subsequent call to setUnrecognizedPolicyNames(QName[]) will be necessary, to
set the required UnrecognizedPolicy values |
|
UnrecognizedPolicyRequestFault(EndpointReference originator,
ErrorCode errorCode,
FaultDescription[] descriptions,
IOSerializableSOAPElement faultCause,
IOSerializableSOAPElement[] extensibilityElements,
Attribute[] attributes,
javax.xml.namespace.QName[] unrecognizedPolicyNames)
Create an instance of the fault from the specified information. |
|
UnrecognizedPolicyRequestFault(javax.xml.namespace.QName[] unrecognizedPolicyNames)
Create an instance of the fault with the specified unrecognized policy element names. |
|
UnrecognizedPolicyRequestFault(java.lang.String message,
javax.xml.namespace.QName[] unrecognizedPolicyNames)
Create an instance of the fault with the specified unrecognized policy element names and containing the specified message as a description. |
|
UnrecognizedPolicyRequestFault(java.lang.String message,
java.lang.Throwable cause,
javax.xml.namespace.QName[] unrecognizedPolicyNames)
Create an instance of the fault with the specified unrecognized policy element names and containing the specified message as a description and with the specified cause. |
|
UnrecognizedPolicyRequestFault(java.lang.Throwable cause,
javax.xml.namespace.QName[] unrecognizedPolicyNames)
Create an instance of the fault with the specified unrecognized policy element names and with the specified cause. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Get the message for this fault. |
javax.xml.namespace.QName[] |
getUnrecognizedPolicyNames()
Get the names of the elements of the Policy which were not recognized |
java.lang.Throwable |
initCause(java.lang.Throwable throwable)
|
void |
setUnrecognizedPolicyNames(javax.xml.namespace.QName[] unrecognizedPolicyNames)
Set the names of the elements of the Policy which were not recognized |
Methods inherited from class com.ibm.websphere.wsrf.BaseFault |
---|
getAttributes, getDescriptions, getErrorCode, getExtensibilityElements, getFaultCause, getOriginator, getTimestamp, setAttributes, setDescriptions, setErrorCode, setExtensibilityElements, setFaultCause, setOriginator, setTimestamp |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnrecognizedPolicyRequestFault()
setUnrecognizedPolicyNames(QName[])
will be necessary, to
set the required UnrecognizedPolicy values
public UnrecognizedPolicyRequestFault(javax.xml.namespace.QName[] unrecognizedPolicyNames)
unrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedpublic UnrecognizedPolicyRequestFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes, javax.xml.namespace.QName[] unrecognizedPolicyNames)
originator
- The WS-Addressing EndpointReference of the Web Service that
generated the fault.errorCode
- The error code.descriptions
- The set of descriptions.faultCause
- The fault cause.extensibilityElements
- The set of extensibility elements.attributes
- The set of attributesunrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedpublic UnrecognizedPolicyRequestFault(java.lang.String message, javax.xml.namespace.QName[] unrecognizedPolicyNames)
BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
message
- The exception message. This will be stored as
the first fault description.unrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedpublic UnrecognizedPolicyRequestFault(java.lang.Throwable cause, javax.xml.namespace.QName[] unrecognizedPolicyNames)
com.ibm.websphere.wsrf.BaseFault#setFaultCause(javax.xml.soap.SOAPElement)
.
toString()
on the specified
cause and sub-causes thereof, will be added as descriptions
of this fault.
BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
cause
- The cause of the exceptionunrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedpublic UnrecognizedPolicyRequestFault(java.lang.String message, java.lang.Throwable cause, javax.xml.namespace.QName[] unrecognizedPolicyNames)
com.ibm.websphere.wsrf.BaseFault#setFaultCause(javax.xml.soap.SOAPElement)
.
toString()
on the specified
cause and sub-causes thereof, will be added as descriptions
of this fault.
BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
message
- The exception message. This will be stored as
the first fault description.cause
- The cause of the exceptionunrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedMethod Detail |
---|
public javax.xml.namespace.QName[] getUnrecognizedPolicyNames()
public void setUnrecognizedPolicyNames(javax.xml.namespace.QName[] unrecognizedPolicyNames)
unrecognizedPolicyNames
- The names of elements in the Policy which were not recognizedpublic java.lang.String getMessage()
java.lang.Throwable
to return the text of the first description
in the sequence of descriptions belonging to the fault.
getMessage
in class java.lang.Throwable
Throwable.getMessage()
public java.lang.Throwable initCause(java.lang.Throwable throwable)
initCause
in class java.lang.Throwable
Throwable.initCause(java.lang.Throwable)
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |