Error handling in ADF
So far in this chapter, we have explored the validation support in ADF and also discussed the validation cycle for a page. Now you must be curious to know how the framework handles the validation or system exceptions during the page life cycle and reports it to the user. The rest of the chapter discusses this topic.
Exception handling in a web application is a challenging task for many developers and the solutions may vary according to scenarios. Support for graceful handling of all business and system exceptions, and reporting the relevant error messages to the end user, is essential for any application framework. The good news is that the Oracle ADF framework offers extensible, out of the box solutions for handling both checked and unchecked exceptions.
In general, a fusion web application may need to handle two categories of exceptions; exceptions thrown by the business components when accessed in binding context, and exceptions thrown during task flow execution....