Zum Hauptinhalt springen

AdapterException

Namespace: Meshmakers.Octo.Sdk.Common.Adapters

Exception that is thrown when an error occurs in the adapter

public class AdapterException : Exception, ISerializable

Inheritance Object → Exception → AdapterException
Implements ISerializable

Properties​

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

AdapterException()​

public AdapterException()

AdapterException(String)​

public AdapterException(string message)

Parameters​

message String

AdapterException(String, Exception)​

public AdapterException(string message, Exception inner)

Parameters​

message String

inner Exception

Methods​

ConfigurationErrorAdapterRtIdAdapterCkTypeIdNotSet()​

internal static Exception ConfigurationErrorAdapterRtIdAdapterCkTypeIdNotSet()

Returns​

Exception

DatastoreHostsDoNotResolve(IReadOnlyCollection<String>)​

AB#5303 item 4 — the configured datastore hostnames do not resolve. Naming the configuration KEY alongside the value is the point: the lease-time failure this replaces named neither, and an operator reading it could not tell which setting was wrong.

internal static Exception DatastoreHostsDoNotResolve(IReadOnlyCollection<string> unresolved)

Parameters​

unresolved IReadOnlyCollection<String>

Returns​

Exception

PoolMemberConfigurationDoesNotBind(IReadOnlyCollection<String>, IReadOnlyCollection<String>)​

AB#5303 item 5 — the deployment configured the AdapterPool section and the process is still not a pool member. Naming both sides is the point: the keys that arrived say what the deployment emitted, the unbound properties say what the SDK expected, and the difference between them is the whole defect.

internal static Exception PoolMemberConfigurationDoesNotBind(IReadOnlyCollection<string> configuredKeys, IReadOnlyCollection<string> unboundProperties)

Parameters​

configuredKeys IReadOnlyCollection<String>

unboundProperties IReadOnlyCollection<String>

Returns​

Exception