com.sapportals.wcm.repository
Class ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sapportals.wcm.WcmException
com.sapportals.wcm.util.content.ContentException
com.sapportals.wcm.repository.ResourceException
com.sapportals.wcm.repository.ServiceUnavailableException
- All Implemented Interfaces:
- Serializable
public class ServiceUnavailableException
- extends ResourceException
A service is not available.
Copyright 2002 (c) SAP AG
- See Also:
- Serialized Form
|
Method Summary |
Date |
getRetryAfter()
Returns the time when retries of the operation are recommended. |
| Methods inherited from class com.sapportals.wcm.repository.ResourceException |
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString |
ServiceUnavailableException
public ServiceUnavailableException(String msg,
RID resourceID)
- Constructs a new ServiceUnavailableException
- Parameters:
msg - The messageresourceID - The URI of the resource that caused the exception
(optional)
ServiceUnavailableException
public ServiceUnavailableException(String msg,
Date retry,
RID resourceID)
- Constructs a new ServiceUnavailableException
- Parameters:
msg - The messageretry - date before which retries are not recommendedresourceID - The URI of the resource that caused the exception
(optional)
ServiceUnavailableException
public ServiceUnavailableException(String msg,
Exception ex,
RID resourceID)
- Constructs a new ServiceUnavailableException
- Parameters:
msg - The messageex - The contained exceptionresourceID - The URI of the resource that caused the exception
(optional)
ServiceUnavailableException
public 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.
- Parameters:
newEx - The new exception.retry - date before which retries are not recommended
getRetryAfter
public Date getRetryAfter()
- Returns the time when retries of the operation are recommended. Repeating
the operation before this time, will most likely raise this exception
again. If the best time for retry is unknown,
null is retuned.
- Returns:
- time of first recommended retry or
null if not known.
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice