Skip to content

Commit

Permalink
Adding ClassCastException to possible Exceptions that unwind addition…
Browse files Browse the repository at this point in the history
…al module call information
  • Loading branch information
Flewp authored and joemun committed Dec 2, 2024
1 parent d95d88a commit 0c7b09e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public void invoke(JSInstance jsInstance, ReadableArray parameters) {
mArgumentExtractors[i].extractArgument(jsInstance, parameters, jsArgumentsConsumed);
jsArgumentsConsumed += mArgumentExtractors[i].getJSArgumentsNeeded();
}
} catch (UnexpectedNativeTypeException | NullPointerException e) {
} catch (UnexpectedNativeTypeException | NullPointerException | ClassCastException e) {
throw new NativeArgumentsParseException(
e.getMessage()
+ " (constructing arguments for "
Expand Down

0 comments on commit 0c7b09e

Please sign in to comment.