Handle
Exceptions
In Mule
Mule’s default exception strategy — which implicitly applies to all Mule applications — manages errors (i.e.
thrown exceptions) in Mule flows. When your flows require more sophisticated error management, you can
implement one or more exception strategies to construct precise, efficient protocols for handling errors.
Exceptions
• Choice Exception Strategy.
• Catch Exception.
• Rollback Exception.
Choice Exception
HTTP Settings
Type of exception that should be
catch here:
Type of exception that should be
catch here:
Type of exception that should be
catch here:
• You can define a Rollback Exception Strategy to ensure that a message
that throws an exception in a flow is reverted to a process again. Usually,
this is used on a transaction flow. If a transaction fails, the rollback
exception strategy reverts the transaction of the flow.
Rollback Exception Strategy
• Documentation:
• https://docs.mulesoft.com/mule-user-guide/v/3.7/rollback-
exception-strategy#sts=Rollback Exception Strategy

Handle exceptions in mule