Error Handling Simplified

Errors occur all the time; all you can do is implement error handling. In this article, I will describe how to use an introduced layer of abstraction in exceptions area. Prior to Mule 4, developers could only access raw Java exception as Mule is a Java-based ESB. This lead to situations where you, as a developer, needed to analyze documentation to find an exact exception that you would like to handle. Now, an Error concept has been introduced.

Error Object

In the previous version of Mule, developers needed to operate on raw Java exceptions. However, in Mule 4, Error concept has been introduced. Below, I have prepared a simple UML diagram depicting this new idea. https://goo.gl/7ecc9m #DataIntegration #ML

Subscribe To Newsletter

Sign up for my newsletter and get the latest technology news

2019 © Craig Brown PhD. All rights reserved.