hashgraph / hashgraph/pbj

feat: Remove Exceptions

Open
#930 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
15
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Generated `parseImpl` no longer declares `throws ParseException/IOException`; error paths set a sticky error code and return null instead. Public throwing API unchanged.

**Benefit:** removes exception-based control flow from the generated hot path, which is expensive in Java.

PR: hashgraph/pbj#915

Contributor guide

Open the contributing guide

Research direction

Start by reading the generated parseImpl entry point and PR hashgraph/pbj#915, then trace how its error paths set the sticky error code. Done means generated parseImpl no longer declares ParseException or IOException, returns null on those error paths, and the public throwing API remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.