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
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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
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
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>