com.sapportals.wcm.repository
Class ServiceUnavailableException
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
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:
- java.io.Serializable
- public class ServiceUnavailableException
- extends ResourceException
A service is not available.
Copyright 2002 (c) SAP AG
- See Also:
- Serialized Form
|
Method Summary |
java.util.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceUnavailableException
public ServiceUnavailableException(java.lang.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(java.lang.String msg,
java.util.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(java.lang.String msg,
java.lang.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,
java.util.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 java.util.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.
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.