fixed some test error

This commit is contained in:
free will committed 2021-03-22 21:51:38 +08:00
1 parent fc3671ea00
commit 5785f29ec3
12 files changed
+118 -59

No files matched your search

+2 -2
View File
@@ -68,7 +68,7 @@ public class Data implements IEncodingAble,InteractWithField {
* @return
*/
@Override
public boolean fillDataToFields() throws EncoderException {
public boolean fillDataToFields() throws EncoderException, BlockException {
/////////////////////////////////////////////////////////////
//// 填充可变区
// { => 可变区
@@ -216,7 +216,7 @@ public class Data implements IEncodingAble,InteractWithField {
* @return
*/
@Override
public int wireEncode(Encoder encoder) throws EncoderException {
public int wireEncode(Encoder encoder) throws EncoderException, BlockException {
// 首先将各项属性填充到分区当中
if(this.fillDataToFields()){
return 0;