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.ExceptionsAssembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.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.
CopyC#
try { ... } catch(CacheException ex) { ... }
Inheritance Hierarchy
System..::..Object
System..::..Exception
Alachisoft.NCache.Runtime.Exceptions..::..CacheException
Alachisoft.NCache.Runtime.Exceptions..::..AggregateException
Alachisoft.NCache.Runtime.Exceptions..::..BadResponseException
Alachisoft.NCache.Runtime.Exceptions..::..ConfigurationException
Alachisoft.NCache.Runtime.Exceptions..::..GeneralFailureException
Alachisoft.NCache.Runtime.Exceptions..::..LicensingException
Alachisoft.NCache.Runtime.Exceptions..::..ManagementException
Alachisoft.NCache.Runtime.Exceptions..::..MaxClientReachedException
Alachisoft.NCache.Runtime.Exceptions..::..OperationFailedException
Alachisoft.NCache.Runtime.Exceptions..::..OperationNotSupportedException
Alachisoft.NCache.Runtime.Exceptions..::..ParserException
Alachisoft.NCache.Runtime.Exceptions..::..RemoteException
Alachisoft.NCache.Runtime.Exceptions..::..SecurityException
Alachisoft.NCache.Runtime.Exceptions..::..StreamException
Alachisoft.NCache.Runtime.Exceptions..::..SuspectedException
Alachisoft.NCache.Runtime.Exceptions..::..TimeoutException
System..::..Exception
Alachisoft.NCache.Runtime.Exceptions..::..CacheException
Alachisoft.NCache.Runtime.Exceptions..::..AggregateException
Alachisoft.NCache.Runtime.Exceptions..::..BadResponseException
Alachisoft.NCache.Runtime.Exceptions..::..ConfigurationException
Alachisoft.NCache.Runtime.Exceptions..::..GeneralFailureException
Alachisoft.NCache.Runtime.Exceptions..::..LicensingException
Alachisoft.NCache.Runtime.Exceptions..::..ManagementException
Alachisoft.NCache.Runtime.Exceptions..::..MaxClientReachedException
Alachisoft.NCache.Runtime.Exceptions..::..OperationFailedException
Alachisoft.NCache.Runtime.Exceptions..::..OperationNotSupportedException
Alachisoft.NCache.Runtime.Exceptions..::..ParserException
Alachisoft.NCache.Runtime.Exceptions..::..RemoteException
Alachisoft.NCache.Runtime.Exceptions..::..SecurityException
Alachisoft.NCache.Runtime.Exceptions..::..StreamException
Alachisoft.NCache.Runtime.Exceptions..::..SuspectedException
Alachisoft.NCache.Runtime.Exceptions..::..TimeoutException