public class UnacceptableInitialTerminationTimeFault extends BaseFault
Constructor and Description |
---|
UnacceptableInitialTerminationTimeFault()
Default constructor.
|
UnacceptableInitialTerminationTimeFault(EndpointReference originator,
ErrorCode errorCode,
FaultDescription[] descriptions,
IOSerializableSOAPElement faultCause,
IOSerializableSOAPElement[] extensibilityElements,
Attribute[] attributes,
java.util.Calendar minimumTime,
java.util.Calendar maximumTime)
Create an instance of the fault from the specified information.
|
UnacceptableInitialTerminationTimeFault(java.lang.String message)
Create an instance of the fault containing the specified message
as a description.
|
UnacceptableInitialTerminationTimeFault(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.
|
UnacceptableInitialTerminationTimeFault(java.lang.Throwable cause)
Create an instance of the fault with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getMaximumTime()
Get the maximum allowable terminition time.
|
java.lang.String |
getMessage()
Get the message for this fault.
|
java.util.Calendar |
getMinimumTime()
Get the minimum allowable terminition time.
|
java.lang.Throwable |
initCause(java.lang.Throwable throwable) |
void |
setMaximumTime(java.util.Calendar maximumTime)
Set the maximum allowable terminition time.
|
void |
setMinimumTime(java.util.Calendar minimumTime)
Set the minimum allowable terminition time.
|
getAttributes, getDescriptions, getErrorCode, getExtensibilityElements, getFaultCause, getOriginator, getTimestamp, setAttributes, setDescriptions, setErrorCode, setExtensibilityElements, setFaultCause, setOriginator, setTimestamp
public UnacceptableInitialTerminationTimeFault()
setMinimumTime(Calendar)
public UnacceptableInitialTerminationTimeFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes, java.util.Calendar minimumTime, java.util.Calendar maximumTime)
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 attributesminimumTime
- The minimum time for the intial termination. A null value will be ignored and instead
a default value of the current time at instantiation plus one minute will be used.maximumTime
- The maximum time for the intial terminationpublic UnacceptableInitialTerminationTimeFault(java.lang.String message)
BaseFault.setDescriptions(com.ibm.websphere.wsrf.FaultDescription[])
setMinimumTime(Calendar)
message
- The exception message. This will be stored as
the first fault description.public UnacceptableInitialTerminationTimeFault(java.lang.Throwable cause)
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[])
setMinimumTime(Calendar)
cause
- The cause of the exceptionpublic UnacceptableInitialTerminationTimeFault(java.lang.String message, java.lang.Throwable cause)
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[])
setMinimumTime(Calendar)
message
- The exception message. This will be stored as
the first fault description.cause
- The cause of the exceptionpublic java.util.Calendar getMinimumTime()
public void setMinimumTime(java.util.Calendar minimumTime)
minimumTime
- The minimumTime to set. A null value will be ignoredpublic java.util.Calendar getMaximumTime()
public void setMaximumTime(java.util.Calendar maximumTime)
maximumTime
- The maximumTime to set.public 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)