Skip to content

Commit c5e84c7

Browse files
committed
Add toString for HttpException
1 parent 010296a commit c5e84c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

updatepluginlib/src/main/java/org/lzh/framework/updatepluginlib/impl/HttpException.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ public int getCode() {
3636
public String getErrorMsg() {
3737
return errorMsg;
3838
}
39+
40+
@Override
41+
public String toString() {
42+
return "HttpException{" +
43+
"code=" + code +
44+
", errorMsg='" + errorMsg + '\'' +
45+
'}';
46+
}
3947
}

0 commit comments

Comments
 (0)