J1939TpException Class¶
Base class for every exception raised by the J1939-TP channel. Derives from CanKitException so L2/L3/L4 failures can be caught uniformly across the library (NFR-006 error architecture, arc42 ADR-12).
Inheritance Object → Exception → CanKitException → J1939TpException
Derived
↳ J1939TpAbortException
↳ J1939TpSendRejectedException
Constructors¶
J1939TpException(CanKitErrorCode, string) Constructor¶
Creates a new J1939TpException with a specific library error code.
Parameters¶
errorCode CanKitErrorCode
message String
J1939TpException(string) Constructor¶
Creates a new J1939TpException.
Parameters¶
message String
J1939TpException(string, Exception) Constructor¶
Creates a new J1939TpException wrapping an underlying exception.
Parameters¶
message String
innerException Exception