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 7ec2fc6 commit 547c349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public Module getValueAsModule() {
try {
return new Module(taggedTokenValue);
} catch (NumberFormatException e) {
throw new RuntimeException("Error getting the current token as Module", e);
throw new SerializationException("Error getting the current token as Module", e);
}
}
}

0 comments on commit 547c349

Please sign in to comment.