You are browsing the archive for RuntimeException.

JSF Exception Handling

January 17, 2013 in Java Web

Everyone who develops Java EE web applications needs to pay attention to exception handling. When a program encounters an error, developers can display friendly messages for end users, which increases their trust in the application. Also, by adding adequate exception handling, you can troubleshoot and debug application defects. Since version 2.0 the JavaServer Faces framework has supported an exception handling mechanism to provide a centralized place for handling exceptions in JSF applications. In this article, I explain how to utilize the JSF exception handling mechanism using a practical example. I published this article in Wazi:
http://www.openlogic.com/wazi/bid/259014/How-to-add-exception-handling-to-JSF-applications

Skip to toolbar