Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.exceptions
Class JDOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.toplink.exceptions.TopLinkException
                  extended byoracle.toplink.exceptions.JDOException

All Implemented Interfaces:
java.io.Serializable

public class JDOException
extends TopLinkException
See Also:
Serialized Form

Field Summary
static int ARGUMENT_OBJECT_IS_NOT_JDO_OBJECTID
static int OBJECT_FOR_ID_DOES_NOT_EXIST
static int OBJECT_IS_NOT_TRANSACTIONAL
static int TRANSACTION_IS_ALREADY_ACTIVE
static int TRANSACTION_IS_NOT_ACTIVE
static int TRANSACTIONAL_READ_WITHOUT_ACTIVE_TRANSACTION

Constructor Summary
JDOException(java.lang.String message)

Method Summary
static JDOException argumentObjectIsNotJDOObjectId(java.lang.Object object)
static JDOException objectForIdDoesNotExist(java.lang.Object object)
static JDOException objectIsNotTransactional(java.lang.Object object)
static JDOException transactionalReadWithoutActiveTransaction()
static JDOException transactionIsAlreadyActive()
static JDOException transactionIsNotActive()

Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace, printStackTrace, setShouldPrintInternalException

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

OBJECT_IS_NOT_TRANSACTIONAL

public static final int OBJECT_IS_NOT_TRANSACTIONAL
See Also:
Constant Field Values

ARGUMENT_OBJECT_IS_NOT_JDO_OBJECTID

public static final int ARGUMENT_OBJECT_IS_NOT_JDO_OBJECTID
See Also:
Constant Field Values

OBJECT_FOR_ID_DOES_NOT_EXIST

public static final int OBJECT_FOR_ID_DOES_NOT_EXIST
See Also:
Constant Field Values

TRANSACTIONAL_READ_WITHOUT_ACTIVE_TRANSACTION

public static final int TRANSACTIONAL_READ_WITHOUT_ACTIVE_TRANSACTION
See Also:
Constant Field Values

TRANSACTION_IS_ALREADY_ACTIVE

public static final int TRANSACTION_IS_ALREADY_ACTIVE
See Also:
Constant Field Values

TRANSACTION_IS_NOT_ACTIVE

public static final int TRANSACTION_IS_NOT_ACTIVE
See Also:
Constant Field Values

Constructor Detail

JDOException

public JDOException(java.lang.String message)

Method Detail

objectIsNotTransactional

public static JDOException objectIsNotTransactional(java.lang.Object object)

argumentObjectIsNotJDOObjectId

public static JDOException argumentObjectIsNotJDOObjectId(java.lang.Object object)

objectForIdDoesNotExist

public static JDOException objectForIdDoesNotExist(java.lang.Object object)

transactionalReadWithoutActiveTransaction

public static JDOException transactionalReadWithoutActiveTransaction()

transactionIsAlreadyActive

public static JDOException transactionIsAlreadyActive()

transactionIsNotActive

public static JDOException transactionIsNotActive()

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.