O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handling general exceptions using task flow templates

One of the great benefits of having a task flow template is to handle general and unhandled exceptions. This can be implemented once you are inside the task flow template, and it'll be included inside any concrete task flow that extends the task flow template.

In this recipe, we will extend the hr-crud-flow task flow to handle a runtime exception that will be thrown by a new button which will be added inside the viewAllEmployees.jsff page fragment. This exception will be handled by an exception handler class, which we will create in this recipe. You can continue from the last recipe, or you can grab this project's recipe by cloning the HandlingExceptionsUsingTFTemplates application from the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required