com.ibm.websphere.sib.wsn.faults

Class InvalidFilterFault

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.websphere.wsrf.BaseFault
  5. extended bycom.ibm.websphere.sib.wsn.faults.InvalidFilterFault
All implemented interfaces:
java.io.Serializable

  1. public class InvalidFilterFault
  2. extends BaseFault
This exception class represents the InvalidFilterFaultType type defined in the WS-Notification Base Notification schema.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
InvalidFilterFault()
Default constructor.
InvalidFilterFault(EndpointReference originator,ErrorCode errorCode,FaultDescription[] descriptions,IOSerializableSOAPElement faultCause,IOSerializableSOAPElement[] extensibilityElements,Attribute[] attributes,javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault from the specified information.
InvalidFilterFault(javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names.
InvalidFilterFault(java.lang.String message,javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and containing the specified message as a description.
InvalidFilterFault(java.lang.String message,java.lang.Throwable cause,javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and containing the specified message as a description and with the specified cause.
InvalidFilterFault(java.lang.Throwable cause,javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and with the specified cause.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getMessage()
Get the message for this fault.
  1. javax.xml.namespace.QName[]
getUnknownFilterNames()
Get the names of the elements of the Filter which were not understood or not supported.
  1. java.lang.Throwable
initCause(java.lang.Throwable throwable)
  1. void
setUnknownFilterNames(javax.xml.namespace.QName[] unknownFilterNames)
Set the names of the elements of the Filter which were not understood or not supported.
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

InvalidFilterFault

  1. public InvalidFilterFault()
Default constructor. If this constructor is used, a subsequent call to setUnknownFilterNames(QName[]) will be necessary, to set the required UnknownFilter values

InvalidFilterFault

  1. public InvalidFilterFault(javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names.
Parameters:
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

InvalidFilterFault

  1. public InvalidFilterFault(EndpointReference originator,
  2. ErrorCode errorCode,
  3. FaultDescription[] descriptions,
  4. IOSerializableSOAPElement faultCause,
  5. IOSerializableSOAPElement[] extensibilityElements,
  6. Attribute[] attributes,
  7. javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault from the specified information. All arguments are optional except for unknownFilterNames
Parameters:
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 attributes
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

InvalidFilterFault

  1. public InvalidFilterFault(java.lang.String message,
  2. javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and containing the specified message as a description.

The descriptions for the fault may be overridden by calling BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
Parameters:
message - The exception message. This will be stored as the first fault description.
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

InvalidFilterFault

  1. public InvalidFilterFault(java.lang.Throwable cause,
  2. javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and with the specified cause.

Notes:
  • The cause specified as an argument to this method is independent of the faultCause that can be specified via com.ibm.websphere.wsrf.BaseFault#setFaultCause(javax.xml.soap.SOAPElement).
  • The result of calling toString() on the specified cause and sub-causes thereof, will be added as descriptions of this fault.
  • The descriptions for the fault may be overridden by calling BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
Parameters:
cause - The cause of the exception
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

InvalidFilterFault

  1. public InvalidFilterFault(java.lang.String message,
  2. java.lang.Throwable cause,
  3. javax.xml.namespace.QName[] unknownFilterNames)
Create an instance of the fault with the specified unknown filter element names and containing the specified message as a description and with the specified cause.

Notes:
  • The cause specified as an argument to this method is independent of the faultCause that can be specified via com.ibm.websphere.wsrf.BaseFault#setFaultCause(javax.xml.soap.SOAPElement).
  • The result of calling toString() on the specified cause and sub-causes thereof, will be added as descriptions of this fault.
  • The descriptions for the fault may be overridden by calling BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
Parameters:
message - The exception message. This will be stored as the first fault description.
cause - The cause of the exception
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

Method Detail

getUnknownFilterNames

  1. public javax.xml.namespace.QName[] getUnknownFilterNames( )
Get the names of the elements of the Filter which were not understood or not supported.
Returns:
The names of elements in the Filter which were not understood or not supported

setUnknownFilterNames

  1. public void setUnknownFilterNames( javax.xml.namespace.QName[] unknownFilterNames)
Set the names of the elements of the Filter which were not understood or not supported.
Parameters:
unknownFilterNames - The names of elements in the Filter which were not understood or not supported

getMessage

  1. public java.lang.String getMessage( )
Get the message for this fault. This method overrides the implementation in java.lang.Throwable to return the text of the first description in the sequence of descriptions belonging to the fault.
Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()

initCause

  1. public java.lang.Throwable initCause( java.lang.Throwable throwable)
Overrides:
initCause in class java.lang.Throwable
See Also:
Throwable.initCause(java.lang.Throwable)