Class OperationFailedException
This exception is thrown whenever an API fails. In case of bulk operation, you even receive
information about existing keys or unavailable space wrapped within this exception.
Inheritance
System.Object
OperationFailedException
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class OperationFailedException : CacheException
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(OperationFailedException ex)
{
...
}
Constructors
Name |
Description |
OperationFailedException()
|
Default constructor.
|
OperationFailedException(SerializationInfo, StreamingContext)
|
Overloaded constructor, manual serialization.
|
OperationFailedException(Int32)
|
Overloaded Constructor
|
OperationFailedException(Int32, String)
|
Overloaded Constructor
|
OperationFailedException(Int32, String, Exception)
|
Overloaded constructor
|
OperationFailedException(Int32, String, Exception, Boolean)
|
Overloaded constructor
|
OperationFailedException(Int32, String, Boolean)
|
Overloaded Constructor
|
OperationFailedException(Int32, String, Boolean, String)
|
Overloaded constructor
|
OperationFailedException(Int32, String, String)
|
Overloaded Constructor
|
OperationFailedException(String)
|
Overloaded constructor, takes the reason as parameter.
|
OperationFailedException(String, Exception)
|
Overloaded constructor.
|
OperationFailedException(String, Exception, Boolean)
|
Overloaded constructor.
|
OperationFailedException(String, Boolean)
|
Overloaded constructor, takes the reason as parameter.
|
Properties
Name |
Description |
IsTracable
|
Specifies whether the exception is to be logged or not
|