Exception Files (EJB Components)

Listing C.39 is the generic exception class, into which any exception occurring in the application is packaged and sent across to the view end to be displayed to the user. This will be put into the ejb_components_src directory, described on Day 16.

Listing C.39. GenericException.java
 /****************************************************************************** * Class Name: GenericException.java * Description: Generic Exception class * @author Mandar S. Chitnis, Pravin S. Tiwari, Lakshmi AM. @version 11.5 * Copyright (c) by Sams Publishing. All Rights Reserved. ******************************************************************************/ package com.sams.learnweblogic7.airlines.exception; import java.util.*; ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.