Skip to content

J1939CannotClaimException Class

Thrown by ClaimAddressAsync(byte, CancellationToken) when a higher-priority peer contests the preferred address and the node has no fallback (arbitrary addressing disabled or the caller supplied only one candidate). The node transitions to CannotClaim and broadcasts Cannot Claim (SA=0xFE) before throwing (SRS FR-J1939-004).

public sealed class J1939CannotClaimException : CanKit.Pro.J1939.J1939NodeException

Inheritance ObjectExceptionCanKitExceptionJ1939NodeException → J1939CannotClaimException

Constructors

J1939CannotClaimException(byte) Constructor

Constructs the exception with the preferred address that was lost.

public J1939CannotClaimException(byte preferredAddress);

Parameters

preferredAddress Byte

Properties

J1939CannotClaimException.PreferredAddress Property

The address the caller originally requested.

public byte PreferredAddress { get; }

Property Value

Byte