Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class CouchbaseException<TContext>

Base exception for all exceptions generated or handled by the Couchbase SDK.

Inheritance
object
Exception
CouchbaseException
CouchbaseException<TContext>
KeyValueException
QueryException
ViewException
Implements
ISerializable
Inherited Members
CouchbaseException.ToString()
Exception.GetBaseException()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase
Assembly: Couchbase.NetClient.dll
Syntax
public abstract class CouchbaseException<TContext> : CouchbaseException, ISerializable where TContext : class, IErrorContext
Type Parameters
Name Description
TContext

Constructors

View Source

CouchbaseException()

Declaration
protected CouchbaseException()
View Source

CouchbaseException(IErrorContext)

Declaration
protected CouchbaseException(IErrorContext context)
Parameters
Type Name Description
IErrorContext context
View Source

CouchbaseException(string)

Declaration
protected CouchbaseException(string message)
Parameters
Type Name Description
string message
View Source

CouchbaseException(string, Exception?)

Declaration
protected CouchbaseException(string message, Exception? innerException)
Parameters
Type Name Description
string message
Exception innerException
View Source

CouchbaseException(TContext)

Declaration
protected CouchbaseException(TContext context)
Parameters
Type Name Description
TContext context

Properties

View Source

Context

Additional context about the CouchbaseException.

Declaration
public TContext? Context { get; set; }
Property Value
Type Description
TContext

Implements

ISerializable

Extension Methods

ExceptionExtensions.ResolveRetryReason(CouchbaseException)
ErrorClassExtensions.Classify(Exception)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.