diff --git a/modbus/src/main/java/com/digitalpetri/modbus/exceptions/ModbusCrcException.java b/modbus/src/main/java/com/digitalpetri/modbus/exceptions/ModbusCrcException.java index 96e844c..45c13e2 100644 --- a/modbus/src/main/java/com/digitalpetri/modbus/exceptions/ModbusCrcException.java +++ b/modbus/src/main/java/com/digitalpetri/modbus/exceptions/ModbusCrcException.java @@ -1,9 +1,13 @@ package com.digitalpetri.modbus.exceptions; import com.digitalpetri.modbus.ModbusRtuFrame; +import java.io.Serial; public class ModbusCrcException extends ModbusException { + @Serial + private static final long serialVersionUID = -5350159787088895451L; + private final ModbusRtuFrame frame; public ModbusCrcException(ModbusRtuFrame frame) {