JDO exceptions JDO defines a number of exceptions

JDO exception hierarchy 147 again). They may be caused by the application (user), by the data store, or by the JDO implementation itself. The exception hierarchy defines base classes to handle each of these situations (Figure 9.1). java.lang.RuntimeException JDOException JDOCanRetryException JDOFatalException JDOFatalUserException JDOFatalInternalException JDOFatalDataStoreException JDOUserException JDODataStoreException JDOUnsupportedOptionException Figure 9.1 JDO exception hierarchy When examining the hierarchy, note the following terminology that refers to the source of each exception: User: the application/component invoking JDO persistence services. DataStore: the underlying data store. Internal: The JDO implementation. implementations are free to define their own classes of exceptions that fit into this hierarchy by subclassing the appropriate base class. Alternatively they may throw instances of the base class exceptions themselves with appropriate identifying attributes. 9.2 Base exception classes Here are detailed descriptions of each of the nine JDO base exception classes.
Note: If you are looking for reliable and quality webspace company to host and run your servlet application check Actions servlet hosting services

Comments are closed.