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

B15903-01


oracle.toplink.exceptions
Class IntegrityException

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

All Implemented Interfaces:
java.io.Serializable

public class IntegrityException
extends ValidationException

Purpose: IntegrityExceptions is used to throw all the Descriptors exceptions.

See Also:
Serialized Form

Field Summary

Fields inherited from class oracle.toplink.exceptions.ValidationException
ALREADY_LOGGED_IN, CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION, CANNOT_ACQUIRE_DATA_SOURCE, CANNOT_ADD_DESCRIPTORS_TO_SESSION, CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER, CANNOT_COMMIT_UOW_AGAIN, CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER, CANNOT_LOGIN_TO_A_SESSION, CANNOT_LOGOUT_OF_A_SESSION, CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK, CANNOT_MODIFY_SCHEMA_IN_SESSION, CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK, CANNOT_RELEASE_NON_CLIENTSESSION, CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK, CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN, CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS, CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP, CONTAINER_POLICY_DOES_NOT_USE_KEYS, DESCRIPTOR_MUST_NOT_BE_INITIALIZED, EJB_CANNOT_LOAD_REMOTE_CLASS, EJB_CONTAINER_EXCEPTION_RAISED, EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION, EJB_FINDER_EXCEPTION, EJB_INVALID_FINDER_ON_HOME, EJB_INVALID_PLATFORM_CLASS, EJB_INVALID_PROJECT_CLASS, EJB_INVALID_SESSION_TYPE_CLASS, EJB_MUST_BE_IN_TRANSACTION, EJB_MUST_SET_LICENSE_KEY, EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES, EJB_PRIMARY_KEY_REFLECTION_EXCEPTION, EJB_SESSION_TYPE_CLASS_NOT_FOUND, EJB_TOPLINK_PROPERTIES_NOT_FOUND, ERROR_DECRYPTING_PASSWORD, ERROR_ENCRYPTING_PASSWORD, ERROR_IN_SESSION_XML, ERROR_WHILE_READING_LICENSE, EXISTING_QUERY_TYPE_CONFLICT, FATAL_ERROR_OCCURRED, FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK, FILE_ERROR, ILLEGAL_CONTAINER_CLASS, ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION, INCORRECT_LOGIN_INSTANCE_PROVIDED, INVALID_CONNECTOR, INVALID_DATA_SOURCE_NAME, INVALID_ENCRYPTION_CLASS, INVALID_FILE_TYPE, INVALID_MERGE_POLICY, INVALID_READ_ONLY_CLASS_STRUCTURE_IN_UNIT_OF_WORK, INVALID_SEQUENCING_LOGIN, JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE, JTS_EXCEPTION_RAISED, KEYS_MUST_MATCH, LICENSE_FILE_NOT_FOUND, LOG_IO_ERROR, LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS, MAX_SIZE_LESS_THAN_MIN_SIZE, METHOD_NOT_DECLARED_IN_ITEM_CLASS, MISSING_DESCRIPTOR, MISSING_MAPPING, MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES, NO_PROJECT_SPECIFIED_IN_PROPERTIES, NO_PROPERTIES_FILE_FOUND, NO_SESSION_REGISTERED_FOR_CLASS, NO_SESSION_REGISTERED_FOR_NAME, NO_SESSIONS_XML_FOUND, NO_TABLES_TO_CREATE, NO_TOPLINK_EJB_JAR_XML_FOUND, NULL_CACHE_KEY_FOUND_ON_REMOVAL, NULL_UNDERLYING_VALUEHOLDER_VALUE, ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS, OPERATION_NOT_SUPPORTED, OPTIMISTIC_LOCKING_NOT_SUPPORTED, ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED, ORACLE_OBJECT_TYPE_NOT_DEFINED, ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED, PLATFORM_CLASS_NOT_FOUND, POOL_NAME_DOES_NOT_EXIST, POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN, PROJECT_AMENDMENT_EXCEPTION_OCCURED, PROJECT_XML_NOT_FOUND, QUERY_ARGUMENT_TYPE_NOT_FOUND, SEQUENCE_SETUP_INCORRECTLY, SESSION_AMENDMENT_EXCEPTION_OCCURED, SESSION_LIMIT_IS_EXCEEDED, SET_LISTENER_CLASSES_EXCEPTION, START_INDEX_OUT_OF_RANGE, STOP_INDEX_OUT_OF_RANGE, SUB_SESSION_NOT_DEFINED_FOR_BROKER, WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK, WRONG_OBJECT_REGISTERED

Method Summary
IntegrityChecker getIntegrityChecker()
PUBLIC: Return Integrity Checker.
java.lang.String getMessage()
PUBLIC: This method is used to print out all the descriptor exceptions.

Methods inherited from class oracle.toplink.exceptions.ValidationException
alreadyLoggedIn, cannotAcquireClientSessionFromSession, cannotAcquireDataSource, cannotAddDescriptorsToSessionBroker, cannotCommitUOWAgain, cannotCreateExternalTransactionController, cannotHaveUnboundInOutputArguments, cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork, cannotRegisterAggregateObjectInUnitOfWork, cannotReleaseNonClientSession, cannotRemoveFromReadOnlyClassesInNestedUnitOfWork, cannotSetListenerClasses, cannotSetReadPoolSizeAfterLogin, childDescriptorsDoNotHaveIdentityMap, containerPolicyDoesNotUseKeys, descriptorMustBeNotInitialized, ejbCannotLoadRemoteClass, ejbContainerExceptionRaised, ejbDescriptorNotFoundInSession, ejbFinderException, ejbInvalidHomeInterfaceClass, ejbInvalidPlatformClass, ejbInvalidProjectClass, ejbInvalidSessionTypeClass, ejbMustBeInTransaction, ejbNoSuchSessionSpecifiedInProperties, ejbPrimaryKeyReflectionException, ejbSessionTypeClassNotFound, ejbTopLinkPropertiesNotFound, errorDecryptingPassword, errorEncryptingPassword, errorInSessionsXML, errorWhileReadingLicenseFile, existingQueryTypeConflict, fatalErrorOccurred, fieldLevelLockingNotSupportedWithoutUnitOfWork, fileError, illegalContainerClass, illegalUseOfMapInDirectCollection, incorrectLoginInstanceProvided, invalidConnector, invalidDataSourceName, invalidEncryptionClass, invalidFileName, invalidMergePolicy, invalidSequencingLogin, javaTypeIsNotAValidDatabaseType, jtsExceptionRaised, loginBeforeAllocatingClientSessions, logIOError, maxSizeLessThanMinSize, methodNotDeclaredInItemClass, missingDescriptor, missingMappingForAttribute, multipleProjectsSpecifiedInProperties, noProjectSpecifiedInProperties, noPropertiesFileFound, noSessionRegisteredForClass, noSessionRegisteredForName, noSessionsXMLFound, noTablesToCreate, noTopLinkEjbJarXMLFound, nullCacheKeyFoundOnRemoval, nullUnderlyingValueHolderValue, onlyFieldsAreValidKeysForDatabaseRows, operationNotSupported, optimisticLockingNotSupportedWithStoredProcedureGeneration, oracleObjectTypeIsNotDefined, oracleObjectTypeNameIsNotDefined, oracleVarrayMaximumSizeNotDefined, platformClassNotFound, poolNameDoesNotExist, poolsMustBeConfiguredBeforeLogin, projectAmendmentExceptionOccured, projectXMLNotFound, queryArgumentTypeNotFound, sequenceSetupIncorrectly, sessionAmendmentExceptionOccured, startIndexOutOfRange, stopIndexOutOfRange, subSessionsNotDefinedForBroker, writeObjectNotAllowedInUnitOfWork, wrongObjectRegistered

Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, 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

Method Detail

getIntegrityChecker

public IntegrityChecker getIntegrityChecker()
PUBLIC: Return Integrity Checker.

getMessage

public java.lang.String getMessage()
PUBLIC: This method is used to print out all the descriptor exceptions.
Overrides:
getMessage in class TopLinkException

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