Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c79d66

Browse files
committed
Removed events stuff again, moved to different library
1 parent67b695d commit5c79d66

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/main/java/io/api/etherscan/core/impl/BasicProvider.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <T> T convert(final String json, final Class<T> tClass) {
4242
try {
4343
returngson.fromJson(json,tClass);
4444
}catch (Exceptione) {
45-
thrownewParseException(e.getMessage(),e.getCause());
45+
thrownewParseException(e.getMessage(),e.getCause(),json);
4646
}
4747
}
4848

‎src/main/java/io/api/etherscan/error/ParseException.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
* @since 29.10.2018
88
*/
99
publicclassParseExceptionextendsApiException {
10+
Stringjson;
1011

11-
publicParseException(Stringmessage,Throwablecause) {
12+
publicParseException(Stringmessage,Throwablecause,Stringjson) {
1213
super(message,cause);
14+
this.json =json;
1315
}
1416
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp