摘要:
话不多说,直接贴出文件内容如下: # A Shotgun policy xx identities: # list roles to be used in the policy user1: {"role": {"name": "member", "mspId": "Org1MSP"}} user2 阅读全文
posted @ 2020-01-14 18:29
itwetouch
阅读(709)
评论(0)
推荐(0)
摘要:
多catch块的代码优化 通常情况下编码的时候,针对不同的异常类型,会使用多个catch块包住,来对各自的异常做处理,如下所示: try{ ... }catch(***Exception e){ e.printStackTrace(); }catch(***Exception e){ e.print 阅读全文
posted @ 2020-01-14 17:25
itwetouch
阅读(334)
评论(0)
推荐(0)

浙公网安备 33010602011771号