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 31, 2024
1 parent 015f356 commit b9aa62a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public Long getValueAsLong() {
try {
return Long.parseLong(taggedTokenValue);
} catch (NumberFormatException e) {
throw new RuntimeException("Error getting the current token as Long", e);
throw new SerializationException("Error getting the current token as Long", e);
}
}
}

0 comments on commit b9aa62a

Please sign in to comment.