海康威视SDK对接,HCUsbSDK native.loadLibrary 异常catch 不打印?其实是被log4j吃掉了?

try {
   HCUsbSDK hcUsbSDK = (HCUsbSDK) Native.loadLibrary("C:\\HCUSBSDK\\64bit\\HCUSBSDK.dll", HCUsbSDK.class);
        
}catch (Exception e){
logger.error(" ReadCardHik---Exception-----ee",e);
}catch (Error ee){//或者使用更顶级的 Throwable
logger.error(" ReadCardHik---Error-----ee",ee);
}finally {

}
posted @ 2024-04-11 17:28  何良  阅读(71)  评论(0编辑  收藏  举报
如果觉得老弟写的还可以,帮忙点个赞,谢谢