修改异常类
This commit is contained in:
parent
1be35ace33
commit
48a1aa828c
@ -102,7 +102,7 @@ public class SydApiException extends RuntimeException{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SydApiException(int retCode) {
|
public SydApiException(int retCode) {
|
||||||
super("SydApiException(" + "code = "+String.format("%d", retCode) + ")" );
|
super("SydApiException(" + "code = "+String.format("%04x", retCode) + ")" );
|
||||||
this.retCode = retCode;
|
this.retCode = retCode;
|
||||||
transMsg();
|
transMsg();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user