完善异常信息捕获、证书列表获取
This commit is contained in:
@@ -107,6 +107,12 @@ public class SydApiException extends RuntimeException{
|
||||
transMsg();
|
||||
}
|
||||
|
||||
public SydApiException(int retCode, Exception e) {
|
||||
super("SydApiException(" + "code = "+String.format("%04x", retCode) + ")" , e);
|
||||
this.retCode = retCode;
|
||||
transMsg();
|
||||
}
|
||||
|
||||
|
||||
public SydApiException(String msg, int retCode){
|
||||
super("SydApiException(" + String.format(" %04X", retCode) + ":" + ( null == msg ? transMsg(retCode) : msg ) + ")" );
|
||||
|
||||
Reference in New Issue
Block a user