IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sib.wsn.faults
Class UnableToGetMessagesFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.wsrf.BaseFault
              extended by com.ibm.websphere.sib.wsn.faults.UnableToGetMessagesFault
All Implemented Interfaces:
java.io.Serializable

public class UnableToGetMessagesFault
extends BaseFault

This exception class represents the UnableToGetMessagesFault type defined in the WS-Notification Base Notification schema.

See Also:
Serialized Form

Constructor Summary
UnableToGetMessagesFault()
          Default constructor
UnableToGetMessagesFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes)
          Create an instance of the fault from the specified information.
UnableToGetMessagesFault(java.lang.String message)
          Create an instance of the fault containing the specified message as a description.
UnableToGetMessagesFault(java.lang.String message, java.lang.Throwable cause)
          Create an instance of the fault containing the specified message as a description and with the specified cause.
UnableToGetMessagesFault(java.lang.Throwable cause)
          Create an instance of the fault with the specified cause.
 
Method Summary
 java.lang.String getMessage()
          Get the message for this fault.
 java.lang.Throwable initCause(java.lang.Throwable throwable)
           
 
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

UnableToGetMessagesFault

public UnableToGetMessagesFault()
Default constructor


UnableToGetMessagesFault

public UnableToGetMessagesFault(EndpointReference originator,
                                ErrorCode errorCode,
                                FaultDescription[] descriptions,
                                IOSerializableSOAPElement faultCause,
                                IOSerializableSOAPElement[] extensibilityElements,
                                Attribute[] attributes)
Create an instance of the fault from the specified information. All arguments are optional.

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

UnableToGetMessagesFault

public UnableToGetMessagesFault(java.lang.String message)
Create an instance of the fault 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.

UnableToGetMessagesFault

public UnableToGetMessagesFault(java.lang.Throwable cause)
Create an instance of the fault with the specified cause.

Notes:

Parameters:
cause - The cause of the exception

UnableToGetMessagesFault

public UnableToGetMessagesFault(java.lang.String message,
                                java.lang.Throwable cause)
Create an instance of the fault containing the specified message as a description and with the specified cause.

Notes:

Parameters:
message - The exception message. This will be stored as the first fault description.
cause - The cause of the exception
Method Detail

getMessage

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

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

IBM WebSphere Application ServerTM
Release 8