mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
fix:IdentifyManager的小bug(异常值判断)
fix:引入mgmt.Exception(解决编译错误) add:IdentifyManager单元测试
This commit is contained in:
1 parent
0dc6bb3165
commit
bbee7f879e
13 files changed
+417
-13
No files matched your search
@@ -3,6 +3,7 @@ package packet;
|
||||
import com.sun.xml.internal.ws.api.message.Packet;
|
||||
import component.*;
|
||||
import encoding.*;
|
||||
import mgmt.MgmtException;
|
||||
|
||||
/*
|
||||
* @Author: Wang Feng
|
||||
@@ -177,7 +178,7 @@ public class CPacket implements InteractWithField, IEncodingAble {
|
||||
minPacket.identifierField.addIdentifier(dstIdentifierWrapper);
|
||||
|
||||
return true;
|
||||
} catch (EncoderException | BlockException | ComponentException e) {
|
||||
} catch (EncoderException | BlockException | ComponentException | MgmtException e) {
|
||||
throw new PacketException("CPacket.fillDataToFields: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user