# Callback to handle workflow exception

**URL:** <https://community.temporal.io/t/callback-to-handle-workflow-exception/11010>\
**Category:** Community Support\
**Tags:** java-sdk, error-handling\
**Created:** [February 14, 2024, 1:15pm UTC](https://community.temporal.io/t/callback-to-handle-workflow-exception/11010 "2024-02-14T13:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainboom7](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/rainboom7/32/5498_2.png) [@Rainboom7](https://community.temporal.io/u/Rainboom7)\
**Post date:** [February 14, 2024, 1:15pm UTC](https://community.temporal.io/t/callback-to-handle-workflow-exception/11010/1 "2024-02-14T13:15:15Z")

</div>

Is it possible to handle workflow failure after all retries? I have 3 retries for activities in workflow and 3 retries for whole workflow, i want to save failed status after all 3\*3 retries failled.
