• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

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
System.Exception
CacheException
OperationFailedException
APILoggingException
BucketTransferredException
ConnectionException
InvalidReaderException
LockingException
Inherited Members
CacheException.ErrorCode
CacheException.StackTrace
CacheException.ToString()
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class OperationFailedException : CacheException, ISerializable, _Exception
Examples

The following example demonstrates how to use this exception in your code.

try
{
    ...
}
catch(OperationFailedException ex)
{
    ...
}

Constructors

Name Description
OperationFailedException()

Default constructor.

OperationFailedException(Int32)

Overloaded Constructor

OperationFailedException(Int32, String)

Overloaded Constructor

OperationFailedException(Int32, String, Boolean)

Overloaded Constructor

OperationFailedException(Int32, String, Boolean, String)

Overloaded constructor

OperationFailedException(Int32, String, Exception)

Overloaded constructor

OperationFailedException(Int32, String, Exception, Boolean)

Overloaded constructor

OperationFailedException(Int32, String, String)

Overloaded Constructor

OperationFailedException(SerializationInfo, StreamingContext)

Overloaded constructor, manual serialization.

OperationFailedException(String)

Overloaded constructor, takes the reason as parameter.

OperationFailedException(String, Boolean)

Overloaded constructor, takes the reason as parameter.

OperationFailedException(String, Exception)

Overloaded constructor.

OperationFailedException(String, Exception, Boolean)

Overloaded constructor.

Properties

Name Description
IsTracable

Specifies whether the exception is to be logged or not

Back to top Copyright © 2017 Alachisoft