WeixinException("-1","xxx")->WeixinException("xxx")

This commit is contained in:
jy.hu committed 2014-12-24 00:00:03 +08:00
1 parent 788869f183
commit 96b3080c2d
13 files changed
+36 -46

No files matched your search

@@ -137,11 +137,11 @@ public class MediaApi extends QyApi {
os = new FileOutputStream(file);
os.write(datas);
} else {
throw new WeixinException("-1", String.format(
throw new WeixinException(String.format(
"create file fail:%s", file.getAbsolutePath()));
}
} catch (IOException e) {
throw new WeixinException("-1", e.getMessage());
throw new WeixinException(e.getMessage());
} finally {
try {
if (os != null) {