# Rethrow and Throw without using ReFramework

**URL:** <https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864>\
**Category:** Academy Feedback\
**Tags:** question, system, uiautomation, activities\
**Created:** [February 24, 2020, 11:23pm UTC](https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864 "2020-02-24T23:23:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Callos\_James\_AU](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/callos_james_au/32/135948_2.png) [@Callos\_James\_AU](https://forum.uipath.com/u/Callos_James_AU)\
**Post date:** [February 24, 2020, 11:23pm UTC](https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864/1 "2020-02-24T23:23:56Z")

</div>

Hello Everyone

Good day!

I’m just starting to re-learn UiPath and ReFramework. My client doesn’t want to use reframework so I’m thinking of a way on how to use rethrow and throw in try-catch activity. I tried searching online and I found useful information but not enough. Anyone here happy to enlighten me on how to use these 3 activities or give me a complex samples so I could study it by myself. Appreciate this community. It helps me a lot!

---

<div class="post-metadata">

**Author:** ![wusiyangjia](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/wusiyangjia/32/512258_2.png) [@wusiyangjia](https://forum.uipath.com/u/wusiyangjia)\
**Post date:** [February 25, 2020, 1:11am UTC](https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864/2 "2020-02-25T01:11:56Z")

</div>

Hi @Callos_James_AU

I think ReFramework is already a relatively simple framework that includes the full retry mechanism.  
The four basic components of retry mechanism are init, get next item, process, and end.  
If you want to implement similar exception handling, you usually have to have a similar structure.  
However, you can use Flowchart instead of StateMachine.  
The following link may be helpful for you.

> **[Project Organization](https://docs.uipath.com/studio/docs/project-organization)**
>
> High-Level Frameworks Starting from a generic (and process agnostic) framework ensures you deal in a consistent and structured way with any process. A framework helps you start with the high-level view, then you go deeper into the specific details of...

---

<div class="post-metadata">

**Author:** ![Callos\_James\_AU](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/callos_james_au/32/135948_2.png) [@Callos\_James\_AU](https://forum.uipath.com/u/Callos_James_AU)\
**Post date:** [February 25, 2020, 1:16am UTC](https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864/3 "2020-02-25T01:16:20Z")

</div>

Hello @wusiyangjia

Thanks for your response. Yup, I know a bit of the reframework (generic one), however, we were told not to use any of the default templates of UiPath that’s why I’m thinking of a way to create my own “framework” but I don’t know how the rethrow and throw work if the default framework is not used. By any chance, do you have a sample of rethrow and throw xaml that I can look into? Thanks again

---

<div class="post-metadata">

**Author:** ![wusiyangjia](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/wusiyangjia/32/512258_2.png) [@wusiyangjia](https://forum.uipath.com/u/wusiyangjia)\
**Post date:** [February 25, 2020, 2:02am UTC](https://forum.uipath.com/t/rethrow-and-throw-without-using-reframework/196864/4 "2020-02-25T02:02:01Z")

</div>

As far as I know, the difference between the Throw and the Rethrow is an input of Exception. Because the Rethrow activity only can be used in a catch block to rethrow what has been caught.
