Hi Dear
I am currently preparing for the Associate Developer (O11) certification.
I took the exam once and have a question regarding an issue.
The topic was exception handling.
There is general logic, and there are two exception handling cases (invalid exception and all exceptions) that are not connected. If I follow the logic, the result should definitely be an invalid exception, but since they are not connected within the logic, I chose all exceptions.
I am unable to check the exam results, so I cannot verify whether I got this question right or wrong. What do you think is the correct approach?
Thank you in advance for your support.
(I do not speak English, so I relied on Google. I apologize.)
Hi,
Based on your scenario, it looks like the logic flow ends with a Raise Exception node. If this node is configured to raise an Invalid Exception, then the process will go to the Invalid Exception handler.
If the Raise Exception node is set to a different type—for example, a Processing Exception—then it will go to the All Exception handler instead.
This happens because there isn’t a specific exception handler defined for the Processing Exception, so it falls back to the general (All Exception) handler.
In OutSystems exception handling, the exception flow does not depend only on the logic outcome, but also on how the exception handlers are connected and configured.
If the “Invalid Exception” handler is not explicitly connected or configured to catch that specific exception in the flow, then the exception will normally fall into the generic “All Exceptions” handler.
So in your case, if both exception handlers were separate and not connected, choosing “All Exceptions” was most likely the correct approach.
In OutSystems:
Specific Exception Handler → catches only that exact exception type
All Exceptions Handler → catches any unhandled exception
Therefore, when a specific exception is not properly linked or raised in the flow, the exception is usually handled by “All Exceptions”.