Skip to content

Commit

Permalink
Add toString for HttpException
Browse files Browse the repository at this point in the history
  • Loading branch information
yjfnypeu committed Aug 27, 2018
1 parent 010296a commit c5e84c7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ public int getCode() {
public String getErrorMsg() {
return errorMsg;
}

@Override
public String toString() {
return "HttpException{" +
"code=" + code +
", errorMsg='" + errorMsg + '\'' +
'}';
}
}

0 comments on commit c5e84c7

Please sign in to comment.