diff --git a/src/com/invertor/modbus/msg/response/ReadCoilsResponse.java b/src/com/invertor/modbus/msg/response/ReadCoilsResponse.java
index <HASH>..<HASH> 100644
--- a/src/com/invertor/modbus/msg/response/ReadCoilsResponse.java
+++ b/src/com/invertor/modbus/msg/response/ReadCoilsResponse.java
@@ -58,7 +58,7 @@ public class ReadCoilsResponse extends AbstractReadResponse {
         return coils;
     }
 
-    final public void setCoils(boolean[] coils) {
+    final public void setCoils(boolean[] coils) throws ModbusNumberException {
         this.coils = coils;
         setByteCount(calcByteCount(coils));
     }
added ReadFileRecord request and response.