Skip to content

Add FailsafeExecutionException for wrapped execution failures - #406

Open
nather2014 wants to merge 1 commit into
failsafe-lib:masterfrom
nather2014:fix/356-execution-exception
Open

nather2014 wants to merge 1 commit into
failsafe-lib:masterfrom
nather2014:fix/356-execution-exception

Conversation

@nather2014

Copy link
Copy Markdown

Fixes #356.

Adds FailsafeExecutionException extending FailsafeException and uses it at both checked-exception wrapping sites. This lets callers distinguish wrapped execution failures from policy exceptions while preserving existing catch (FailsafeException) handling.

Updates API documentation and tests covering cause preservation, direct propagation of runtime exceptions and errors, and unchanged asynchronous exception behavior.

Validation: all 310 core tests pass using mvn -pl core test -Djacoco.skip=true. JaCoCo was disabled for Java 25 compatibility.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add FailsafeExecutionException extending FailsafeException for wrapping Throwables in sync get

1 participant