ClassJsonAdapter
throws AssertionError
without wrapping IllegalAccessException
#1523
Labels
ClassJsonAdapter
throws AssertionError
without wrapping IllegalAccessException
#1523
I'm getting an
AssertionError
without any message fromClassJsonAdapter.fromJson()
in Java.I would like to investigate the root cause of the issue, but unfortunately, the exception message doesn't provide any hints.
ClassJsonAdapter
(and others classes) throws anAssertionError
when anIllegalAccessException
is caught.moshi/moshi/src/main/java/com/squareup/moshi/ClassJsonAdapter.kt
Lines 64 to 66 in fd12887
moshi/moshi/src/main/java/com/squareup/moshi/ClassJsonAdapter.kt
Lines 81 to 83 in fd12887
Should the
IllegalAccessException
be wrapped in theAssertionError
like, for instance, inRecordJsonAdapter
?moshi/moshi/src/main/java16/com/squareup/moshi/RecordJsonAdapter.kt
Lines 146 to 148 in fd12887
The text was updated successfully, but these errors were encountered: