FdbException

Namespace: FoundationDB.Client · class

Implements: Exception, ISerializable

Represents an error that occurred while calling the FoundationDB Client API

Constructors

FdbException

FdbException(FdbError errorCode)

Creates a new exception with a given code

The message comes from the managed table, never from the native client: this constructor works identically on every backend, including a process without fdb_c deployed.

FdbException(FdbError errorCode, string message)

Creates a new exception with a given code, message

FdbException(FdbError errorCode, string message, Exception innerException)

Creates a new exception with a given code, message, and inner exception

Properties

Code

FdbError Code { get; }

Gets the error code returned by the Native API.

Methods

GetObjectData

void GetObjectData(SerializationInfo info, StreamingContext context)