|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sap.netweaver.bc.rf.util.exception.BaseException
|
+--com.sap.netweaver.bc.rf.common.exception.RepositoryException
|
+--com.sap.netweaver.bc.rf.common.exception.ResourceException
|
+--com.sap.netweaver.bc.rf.common.exception.ServiceNotAvailableException
Indicates that the repository (the service provided by a method call) is not
available at this time but may available later. Examples:
- The repository has a fixed amount of available resources to process a
request (e.g. backend connections) and all resources are in use by other
threads.
- The repository backend system is overloaded (e.g. a WebDAV Server that
reports HTTP Status 503). This exception may be used by a repository
implementation as an alternative to blocking the calling thread until enough
resources are avialable to process the request. The caller may use this
exception to retry the method call at a later time (see #getRetryAfter).
| Constructor Summary | |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
boolean logExceptionOnCreation)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
java.lang.Throwable rootCause)
Constructs a new exception. |
protected |
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
boolean logExceptionOnCreation)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
boolean logExceptionOnCreation)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.Throwable rootCause)
Constructs a new exception. |
|
ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception. |
| Method Summary | |
java.util.Date |
getRetryAfterDate()
Returns the time when retries of the operation are recommended. |
| Methods inherited from class com.sap.netweaver.bc.rf.common.exception.ResourceException |
getRID |
| Constructor Detail |
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).logExceptionOnCreation - when true log the exception now during its
construction
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).rootCause - throwable object which caused this exception
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).rootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized message
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messageargs - message arguments inserted by MessageFormat means
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagerootCause - throwable object which caused this exception
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messageargs - message arguments inserted by MessageFormat meansrootCause - throwable object which caused this exception
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagelogExceptionOnCreation - when true log the exception now during its
construction
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messageargs - message arguments inserted by MessageFormat meanslogExceptionOnCreation - when true log the exception now during its
construction
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagerootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction
public ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messageargs - message arguments inserted by MessageFormat meansrootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized message
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messageargs - message arguments inserted by MessageFormat means
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messagerootCause - throwable object which caused this exception
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messageargs - message arguments inserted by MessageFormat meansrootCause - throwable object which caused this exception
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messagelogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messageargs - message arguments inserted by MessageFormat meanslogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messagerootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).resourceAccessor - resource accessorkey - resource identifier for localized messageargs - message arguments inserted by MessageFormat meansrootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized message
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
java.lang.Throwable rootCause)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagerootCause - throwable object which caused this exception
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagelogExceptionOnCreation - when true log the exception now during its
construction
protected ServiceNotAvailableException(IRid rid,
java.util.Date retryAfterDate,
ResourceMessage message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
rid - resource id of the resource this exception is associated with
(if any)retryAfterDate - retry interval, can be null (see #getRetryAfter).message - not localized messagerootCause - throwable object which caused this exceptionlogExceptionOnCreation - when true log the exception now during its
construction| Method Detail |
public java.util.Date getRetryAfterDate()
null is retuned.null if not known
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||