Skip to content

J1939NodeException Class

Base class for exceptions thrown by IJ1939Node operations. Derives from CanKitException so L2/L3/L4 failures can be caught uniformly across the library (NFR-006 error architecture, arc42 ADR-12).

public class J1939NodeException : CanKit.Core.Exceptions.CanKitException

Inheritance ObjectExceptionCanKitException → J1939NodeException

Derived
J1939CannotClaimException
J1939NoAddressException

Constructors

J1939NodeException(CanKitErrorCode, string) Constructor

Constructs an exception with a specific library error code.

protected J1939NodeException(CanKit.Core.Exceptions.CanKitErrorCode errorCode, string message);

Parameters

errorCode CanKitErrorCode

message String

J1939NodeException(string) Constructor

Constructs an exception with a message.

public J1939NodeException(string message);

Parameters

message String

J1939NodeException(string, Exception) Constructor

Constructs an exception with a message and cause.

public J1939NodeException(string message, System.Exception innerException);

Parameters

message String

innerException Exception