Exceptions

Although exception handling is covered in detail in Chapter 13, basic exception information is provided here for your convenience. Figure A.2 shows you a UML diagram of the EJB exceptions and their relationships.

Figure A.2. A UML diagram representing the EJB exception hierarchy.

Note

All the EJB exceptions declare a no-argument constructor and one that accepts a String message.

AccessLocalException

An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. This exception is thrown to local clients.

CreateException

The CreateException exception must be included in the throws clauses ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 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.