Application Exceptions

This section covers some come application exceptions for Microsoft AppFabric 1.1 for Windows Server cache clients. Applications can use .NET exception handling to capture DataCacheException objects. These objects contain two descriptive fields: an ErrorCode field and a SubStatus field.

Some causes of these errors are intermittent and temporary. For that reason, we recommend that you build retry logic into applications that use AppFabric Caching features. For more information about how to handle AppFabric Caching errors, see Handling Errors.

The following DataCacheException errors are covered in this section.

ErrorCode ErrorCode String SubStatus SubStatus String Details

RetryLater

ERRCA0017

CacheServerUnavailable

ES0006

RetryLater (CacheServerUnavailable)

RetryLater

ERRCA0017

Throttled

ES0007

RetryLater (Throttled)

RetryLater

ERRCA0017

NotPrimary

ES0002

RetryLater (NotPrimary)

RetryLater

ERRCA0017

NoWriteQuorum

ES0003

RetryLater (NoWriteQuorum)

Timeout

ERRCA0018

None

ES0001

Timeout

ConnectionTerminated

ERRCA0016

None

ES0001

ConnectionTerminated

These are just a selection of exceptions covered by this document. For a full list of possible errors, see Appendix 1: Table of Error Code Strings.

See Also

Concepts

Troubleshooting (AppFabric 1.1 Caching)

  2012-10-26