fixed error handle

This commit is contained in:
free will committed 2021-03-24 11:22:23 +08:00
1 parent 7bf0906291
commit adf834a4e9
10 files changed
+31 -67

No files matched your search

+3 -1
View File
@@ -1,10 +1,12 @@
package others;
import component.CanBePrefix;
import component.ComponentException;
import encoding.Block;
import encoding.BlockException;
import encoding.EncoderException;
import encoding.SelfEncodingBase;
import packet.PacketException;
/*
* @Author: Wang Feng
@@ -14,7 +16,7 @@ import encoding.SelfEncodingBase;
* @Copyright: MIN-Group;国家重大科技基础设施——未来网络北大实验室;深圳市信息论与未来网络重点实验室
*/
public class TestCallBack {
public static void main(String[] args) throws EncoderException, BlockException {
public static void main(String[] args) throws EncoderException, BlockException, PacketException, ComponentException {
CanBePrefix canBePrefix=new CanBePrefix();
Block block=new SelfEncodingBase().selfWireEncode(canBePrefix);
}