Exceptions
JDO has an exception-class hierarchy used to represent the various
kinds of exceptions that may occur. The JDOException
class is at the root of the
hierarchy and provides all of the methods that an application calls. All
of its subclasses merely provide constructors called strictly by the JDO
implementation to indicate that an error has occurred. Since an
application never calls these constructors, we omit them from the class
descriptions.
Get Java Data Objects 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.