add error handle: ComponentException & PacketException

This commit is contained in:
free will committed 2021-03-24 11:14:54 +08:00
1 parent d7f063cbb9
commit 7bf0906291
35 files changed
+955 -362

No files matched your search

+2 -2
View File
@@ -16,11 +16,11 @@ public interface InteractWithField {
* 将包的属性填充到网络包的四个分区当中
* @return
*/
boolean fillDataToFields() throws EncoderException, BlockException;
boolean fillDataToFields() throws EncoderException, BlockException, PacketException;
/**
* 从网络包的四个分区当中提取出特定网络包的相关属性
* @return
*/
boolean extraDataFromFields() throws VlIntException;
boolean extraDataFromFields() throws VlIntException, PacketException;
}