javax.xml.ws.addressing
Class EndpointUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.ws.WebServiceException
                  extended by javax.xml.ws.addressing.AddressingException
                      extended by javax.xml.ws.addressing.EndpointUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class EndpointUnavailableException
extends AddressingException

This exception is thrown when endpoint is unable to process the message at this time either due to some transient issue or a permanent failure.

Since:
JAX-WSA 1.0
Author:
JAX-WSA Development Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.xml.ws.addressing.AddressingException
ac, code, detail, fMessage, reason
 
Constructor Summary
EndpointUnavailableException()
          Overrides AddressingException default constructor.
EndpointUnavailableException(int retryAfter, java.lang.String problemIRI)
          Overrides AddressingException(String) constructor.
 
Method Summary
 javax.xml.namespace.QName getSubcode()
          Return the Subcode required by the WS-Addressing specification.
 
Methods inherited from class javax.xml.ws.addressing.AddressingException
getCode, getDetail, getReason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndpointUnavailableException

public EndpointUnavailableException()
Overrides AddressingException default constructor. Thrown when the endpoint is unable to process the message at this time either due to some transient issue or a permanent failure.


EndpointUnavailableException

public EndpointUnavailableException(int retryAfter,
                                    java.lang.String problemIRI)
Overrides AddressingException(String) constructor. Thrown when the endpoint is unable to process the message at this time either due to some transient issue or a permanent failure.

Parameters:
retryAfter - suggested minimum duration in milliseconds to wait beofre retransmitting the message
problemIRI - the IRI that caused the problem
Method Detail

getSubcode

public javax.xml.namespace.QName getSubcode()
Return the Subcode required by the WS-Addressing specification.

Overrides:
getSubcode in class AddressingException
Returns:
QName of the subcode


Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved.