Skip to content

CanOpenTransportException Class

Raised when a CANopen frame could not be handed off to the bus (L2 rejection, bus-off, or TX confirmation timeout). Surfaces through the node's BackgroundExceptionOccurred event rather than any single caller — the CANopen wire protocols (SYNC / heartbeat / PDO / EMCY) are fire-and-forget from an application caller's perspective, so there is no single request task to fail. Derives from CanKitException so L2/L3/L4 failures can be caught uniformly across the library (NFR-006 error architecture, arc42 ADR-12).

public sealed class CanOpenTransportException : CanKit.Core.Exceptions.CanKitException

Inheritance ObjectExceptionCanKitException → CanOpenTransportException

Constructors

CanOpenTransportException(string) Constructor

Constructs a new exception with the given message.

public CanOpenTransportException(string message);

Parameters

message String

CanOpenTransportException(string, Exception) Constructor

Constructs a new exception wrapping inner.

public CanOpenTransportException(string message, System.Exception inner);

Parameters

message String

inner Exception