It is the base class for all the exceptions that are thrown from NCache. So you can catch this exception for all the exceptions thrown from within the NCache.

Namespace: Alachisoft.NCache.Runtime.Exceptions
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
[SerializableAttribute]
public class CacheException : Exception
Visual Basic
<SerializableAttribute>
Public Class CacheException
	Inherits Exception
Visual C++
[SerializableAttribute]
public ref class CacheException : public Exception

Examples

The following example demonstrates how to use this exception in your code.
 Copy imageCopy
try
{
    ...
}
catch(CacheException ex)
{
    ...
}

Inheritance Hierarchy

See Also