public class ServiceUnavailableException extends ResourceException
Copyright 2002 (c) SAP AG
ex
Constructor and Description |
---|
ServiceUnavailableException(ServiceNotAvailableException newEx,
Date retry)
This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
|
ServiceUnavailableException(String msg,
Date retry,
RID resourceID)
Constructs a new ServiceUnavailableException
|
ServiceUnavailableException(String msg,
Exception ex,
RID resourceID)
Constructs a new ServiceUnavailableException
|
ServiceUnavailableException(String msg,
RID resourceID)
Constructs a new ServiceUnavailableException
|
Modifier and Type | Method and Description |
---|---|
Date |
getRetryAfter()
Returns the time when retries of the operation are recommended.
|
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString
getContainedException, isLogged, setContainedException
addSuppressed, getCause, getStackTrace, getSuppressed, initCause, setStackTrace
public ServiceUnavailableException(String msg, RID resourceID)
msg
- The messageresourceID
- The URI of the resource that caused the exception
(optional)public ServiceUnavailableException(String msg, Date retry, RID resourceID)
msg
- The messageretry
- date before which retries are not recommendedresourceID
- The URI of the resource that caused the exception
(optional)public ServiceUnavailableException(String msg, Exception ex, RID resourceID)
msg
- The messageex
- The contained exceptionresourceID
- The URI of the resource that caused the exception
(optional)public ServiceUnavailableException(ServiceNotAvailableException newEx, Date retry)
newEx
- The new exception.retry
- date before which retries are not recommendedpublic Date getRetryAfter()
null
is retuned.null
if not known.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice