From c5e84c7017c9c2c6c30c6f912fe9f9f8179243dc Mon Sep 17 00:00:00 2001 From: haoge <470368500@qq.com> Date: Mon, 27 Aug 2018 16:36:15 +0800 Subject: [PATCH] Add toString for HttpException --- .../lzh/framework/updatepluginlib/impl/HttpException.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/updatepluginlib/src/main/java/org/lzh/framework/updatepluginlib/impl/HttpException.java b/updatepluginlib/src/main/java/org/lzh/framework/updatepluginlib/impl/HttpException.java index 9f50613..1244e7f 100644 --- a/updatepluginlib/src/main/java/org/lzh/framework/updatepluginlib/impl/HttpException.java +++ b/updatepluginlib/src/main/java/org/lzh/framework/updatepluginlib/impl/HttpException.java @@ -36,4 +36,12 @@ public int getCode() { public String getErrorMsg() { return errorMsg; } + + @Override + public String toString() { + return "HttpException{" + + "code=" + code + + ", errorMsg='" + errorMsg + '\'' + + '}'; + } }