Skip to content

Commit

Permalink
Update faunaJava/src/main/java/com/fauna/serialization/FaunaParser.java
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Pedroza <[email protected]>
  • Loading branch information
pchitolina-fauna and pnwpedro authored Jan 29, 2024
1 parent 29b5b5c commit 7efe46d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public Boolean getValueAsBoolean() {
try {
return jsonParser.getValueAsBoolean();
} catch (IOException e) {
throw new RuntimeException("Error getting the current token as Boolean", e);
throw new SerializationException("Error getting the current token as Boolean", e);
}
}
}

0 comments on commit 7efe46d

Please sign in to comment.