[Reactive]User Exception Handler does not work
Question

Create a new User Exception and throw that exception.

I expect it to be caught by the User Exception Handler, but it gets caught by the All Exceptions Handler.


In the case of Traditional, it works as expected.

Hi Yuichi, 

as you describe it, it should be working indeed. 

If you are catching it on the All Exceptions flow, I'm assuming that this module contains the Exception flow handler.

Do you mind sharing the OML?

Best Regards, 

Paulo Z

Hi Paulo  

Thanks for your comment. I shared OML.


I confirmed that I can catch it by putting UserException_XXXXX Handler, but I can't catch it by UserException Handler.

IndependentApp1UI.oml

Hi Yuichi, 

I know that in the traditional approach, the exception can be caught on a screen action flow. 

In this reactive approach, apparently, it is not working, so I suggest you to add that user exception handler flow on the module's Exception Flow Handler and see if it works.

CatchUserException.PNG

Unfortunately I couldn't even catch it with the Global Exception Handler.

It seems you cannot reference exception groups, apart from the AllExceptions.

You could change your UserException Handler to your specific created User_Exception_XXXX. this will work.


I think the Exception in Outsystems are a thing that should be high on the list of things to improve. For instance, a User_Exception is something that i want to be able to make public. I also would like to be able to make nested exceptions.


Thank you for your comment.

I hope OutSystems recognizes this as a bug and will fix it.

Hi Yuichi,

For this to be handled faster I suggest you open a support case here.

Thanks a lot,
Tiago Simões

Champion

Hi Yuichi Igarashi

Thank you for bringing up this issue.

I have encountered a similar problem.

When you got a solution, please share it with us in this post.

Kind Regards,

After contacting support, I was told that this was as specified.

I was told to post to Ideas if I wanted to change this spec.

I am disappointed with the results of this support inquiry.

Posted in Ideas.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.