12.6. Transaction exception handling

In this section, we describe how exceptions are handled with transactions.

12.6.1. The preliminaries

What are the types of exceptions available?

An exception is unchecked if it extends RuntimeException or Error. Unchecked exceptions do not need to be specified in the throws clause of a method.

An exception is checked if it is specified in the throws clause of a method.

An application level exception is an exception that is checked and extends Exception. It cannot extend RuntimeException, Error, or RemoteException. CreateException, RemoveException and FinderException are application exceptions.

A system level exception is any exception other than an application level exception; it includes all unchecked exceptions. ...

Get WebSphere V3.5 Handbook 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.