org.oasisopen.sca
Class ServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.oasisopen.sca.ServiceRuntimeException
                  extended by org.oasisopen.sca.ServiceUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class ServiceUnavailableException
extends ServiceRuntimeException

This exception signals problems in the interaction with remote services. These are exceptions that can be transient, so retrying is appropriate. Any exception that is a ServiceRuntimeException that is not a ServiceUnavailableException is unlikely to be resolved by retrying the operation, since it most likely requires human intervention.

See Also:
Serialized Form

Constructor Summary
ServiceUnavailableException()
          Constructs a ServiceUnavailableException with no detail message.
ServiceUnavailableException(java.lang.String message)
          Constructs a ServiceUnavailableException with the specified detail message.
ServiceUnavailableException(java.lang.String message, java.lang.Throwable cause)
          Constructs a ServiceUnavailableException with the specified detail message and cause.
ServiceUnavailableException(java.lang.Throwable cause)
          Constructs a ServiceUnavailableException with the specified cause and a detail message of (cause==null ? null : cause.toString()).
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceUnavailableException

public ServiceUnavailableException()
Constructs a ServiceUnavailableException with no detail message.


ServiceUnavailableException

public ServiceUnavailableException(java.lang.String message)
Constructs a ServiceUnavailableException with the specified detail message.

Parameters:
message - the detail message

ServiceUnavailableException

public ServiceUnavailableException(java.lang.String message,
                                   java.lang.Throwable cause)
Constructs a ServiceUnavailableException with the specified detail message and cause. The detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message
cause - the cause, or null if the cause is nonexistent or unknown

ServiceUnavailableException

public ServiceUnavailableException(java.lang.Throwable cause)
Constructs a ServiceUnavailableException with the specified cause and a detail message of (cause==null ? null : cause.toString()).

Parameters:
cause - the cause, or null if the cause is nonexistent or unknown