|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.toplink.exceptions.TopLinkException
oracle.toplink.exceptions.ValidationException
Purpose: This exception is used if incorrect state or method arguments are detected in a general TopLink object.
Method Summary | |
static ValidationException |
alreadyLoggedIn(java.lang.String sessionName) |
static ValidationException |
cannotAcquireClientSessionFromSession() |
static ValidationException |
cannotAcquireDataSource(java.lang.Object name, java.lang.Exception exception) |
static ValidationException |
cannotAddDescriptorsToSessionBroker() |
static ValidationException |
cannotCommitUOWAgain() |
static ValidationException |
cannotCreateExternalTransactionController(java.lang.String externalTransactionControllerName) |
static ValidationException |
cannotHaveUnboundInOutputArguments() |
static ValidationException |
cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork() |
static ValidationException |
cannotRegisterAggregateObjectInUnitOfWork(java.lang.Class type) |
static ValidationException |
cannotReleaseNonClientSession() |
static ValidationException |
cannotRemoveFromReadOnlyClassesInNestedUnitOfWork() |
static ValidationException |
cannotSetListenerClasses(java.lang.Exception exception) |
static ValidationException |
cannotSetReadPoolSizeAfterLogin() |
static ValidationException |
childDescriptorsDoNotHaveIdentityMap() |
static ValidationException |
containerPolicyDoesNotUseKeys(oracle.toplink.internal.queryframework.ContainerPolicy aPolicy, java.lang.String methodName) |
static ValidationException |
descriptorMustBeNotInitialized(Descriptor descriptor) |
static ValidationException |
ejbCannotLoadRemoteClass(java.lang.Exception exception, java.lang.Class beanClass, java.lang.String remoteClass) |
static ValidationException |
ejbContainerExceptionRaised(java.lang.Exception exception) |
static ValidationException |
ejbDescriptorNotFoundInSession(java.lang.Class beanClass, java.lang.String sessionName) PUBLIC: Possible cause: The descriptor listed was not found in the session specified on the deployment descriptor. |
static ValidationException |
ejbFinderException(java.lang.Object bean, java.lang.Throwable finderException, java.util.Vector primaryKey) |
static ValidationException |
ejbInvalidHomeInterfaceClass(java.lang.Class homeClassName) |
static ValidationException |
ejbInvalidPlatformClass(java.lang.String platformName, java.lang.String projectName) |
static ValidationException |
ejbInvalidProjectClass(java.lang.String projectClassName, java.lang.String projectName, java.lang.Throwable aThrowable) PUBLIC: Possible cause: The project class specified in the TopLink.properties file for the session specified on the toplink_session_name environment variable can not be found. |
static ValidationException |
ejbInvalidSessionTypeClass(java.lang.String sessionType, java.lang.String sessionName) PUBLIC: Possible cause: The session type specified in the TopLink.properties file for the session specified on the toplink_session_name environment variable is not a valid type. |
static ValidationException |
ejbMustBeInTransaction(java.lang.Object bean) PUBLIC: Possible cause: An attempt was made to create or remove a been outside of a transaction. |
static ValidationException |
ejbNoSuchSessionSpecifiedInProperties(java.lang.String sessionName, java.lang.Class beanClass) PUBLIC: Possible cause: The toplink_session_name value on the beans environment variable does not match with one in the TopLink.properties file. |
static ValidationException |
ejbPrimaryKeyReflectionException(java.lang.Exception exception, java.lang.Object primaryKey, java.lang.Object bean) PUBLIC: Possible cause: An incorrect primary key object is being used with a bean. |
static ValidationException |
ejbSessionTypeClassNotFound(java.lang.String sessionType, java.lang.String sessionName, java.lang.Throwable exception) PUBLIC: Possible cause: The session type specified in the TopLink.properties file for the session specified on the toplink_session_name environment variable is not found using the default class loader. |
static ValidationException |
ejbTopLinkPropertiesNotFound(java.lang.Exception exception) PUBLIC: Possible cause: The TopLink.properties file can not be found. |
static ValidationException |
errorDecryptingPassword(java.lang.Exception exception) |
static ValidationException |
errorEncryptingPassword(java.lang.Exception exception) |
static ValidationException |
errorInSessionsXML(java.lang.String translatedExceptions) PUBLIC: The session named "name" could not be found in the Sessions.XML |
static ValidationException |
errorWhileReadingLicenseFile(java.lang.String url, java.lang.Exception exception) Deprecated. since TopLink 4.6. There is no direct replacement API. |
static ValidationException |
existingQueryTypeConflict(DatabaseQuery newQuery, DatabaseQuery existingQuery) |
static ValidationException |
fatalErrorOccurred(java.lang.Exception exception) |
static ValidationException |
fieldLevelLockingNotSupportedWithoutUnitOfWork() |
static ValidationException |
fileError(java.io.IOException exception) |
static ValidationException |
illegalContainerClass(java.lang.Class aClass) |
static ValidationException |
illegalUseOfMapInDirectCollection(DirectCollectionMapping directCollectionMapping, java.lang.Class aMapClass, java.lang.String keyMethodName) |
static ValidationException |
incorrectLoginInstanceProvided() |
static ValidationException |
invalidConnector(Connector connector) |
static ValidationException |
invalidDataSourceName(java.lang.String name, java.lang.Exception exception) |
static ValidationException |
invalidEncryptionClass(java.lang.String className, java.lang.Throwable throwableError) |
static ValidationException |
invalidFileName(java.lang.String fileName) |
static ValidationException |
invalidMergePolicy() |
static ValidationException |
invalidSequencingLogin() |
static ValidationException |
javaTypeIsNotAValidDatabaseType(java.lang.Class javaClass) |
static ValidationException |
jtsExceptionRaised(java.lang.Exception exception) |
static ValidationException |
loginBeforeAllocatingClientSessions() |
static ValidationException |
logIOError(java.io.IOException exception) |
static ValidationException |
maxSizeLessThanMinSize() |
static ValidationException |
methodNotDeclaredInItemClass(java.lang.String methodName, java.lang.Class aClass) |
static ValidationException |
missingDescriptor(java.lang.String className) |
static ValidationException |
missingMappingForAttribute(Descriptor descriptor, java.lang.String attributeName, java.lang.String source) Create a validation exception for the look up of a mapping on a descriptor for an unknown attribute name. |
static ValidationException |
multipleProjectsSpecifiedInProperties(java.lang.String bundleName, java.lang.String serverName) PUBLIC: Possible cause: More than one of projectClass, projectFile, and xmlProjectFile are specified for the same session in the TopLink.properties file. |
static ValidationException |
noProjectSpecifiedInProperties(java.lang.String bundleName, java.lang.String serverName) PUBLIC: Possible cause: The TopLink.properties file does not include any reference to a project class, file, or xml project file for the session specified in the deployment descriptor. |
static ValidationException |
noPropertiesFileFound(java.lang.Exception exception) |
static ValidationException |
noSessionRegisteredForClass(java.lang.Class domainClass) |
static ValidationException |
noSessionRegisteredForName(java.lang.String sessionName) |
static ValidationException |
noSessionsXMLFound(java.lang.String resourceName) |
static ValidationException |
noTablesToCreate(Project project) |
static ValidationException |
noTopLinkEjbJarXMLFound() |
static ValidationException |
nullCacheKeyFoundOnRemoval(oracle.toplink.internal.identitymaps.IdentityMap map, java.lang.Class clazz) |
static ValidationException |
nullUnderlyingValueHolderValue(java.lang.String methodName) |
static ValidationException |
onlyFieldsAreValidKeysForDatabaseRows() |
static ValidationException |
operationNotSupported(java.lang.String methodName) |
static ValidationException |
optimisticLockingNotSupportedWithStoredProcedureGeneration() |
static ValidationException |
oracleObjectTypeIsNotDefined(java.lang.String typeName) |
static ValidationException |
oracleObjectTypeNameIsNotDefined(java.lang.Class type) |
static ValidationException |
oracleVarrayMaximumSizeNotDefined(java.lang.String typeName) |
static ValidationException |
platformClassNotFound(java.lang.Exception exception, java.lang.String className) |
static ValidationException |
poolNameDoesNotExist(java.lang.String poolName) |
static ValidationException |
poolsMustBeConfiguredBeforeLogin() |
static ValidationException |
projectAmendmentExceptionOccured(java.lang.Exception exception, java.lang.String amendmentMethod, java.lang.String amendmentClass) PUBLIC: Possible cause: An amendment method was called but can not be found. |
static ValidationException |
projectXMLNotFound(java.lang.String projectXMLFile, java.lang.Exception exception) |
static ValidationException |
queryArgumentTypeNotFound(DatabaseQuery query, java.lang.String argumentName, java.lang.String typeAsString, java.lang.Exception exception) |
static ValidationException |
sequenceSetupIncorrectly(java.lang.String sequenceName) |
static ValidationException |
sessionAmendmentExceptionOccured(java.lang.Exception exception, java.lang.String amendmentMethod, java.lang.String amendmentClass, java.lang.Class[] parameters) PUBLIC: Possible cause: An amendment method was called but can not be found. |
static ValidationException |
startIndexOutOfRange() |
static ValidationException |
stopIndexOutOfRange() |
static ValidationException |
subSessionsNotDefinedForBroker(java.lang.String brokerName) PUBLIC: Possible cause: The session class specified in the TopLink.properties file for the session specified on the toplink_session_name environment variable can not be found. |
static ValidationException |
writeObjectNotAllowedInUnitOfWork() |
static ValidationException |
wrongObjectRegistered(java.lang.Object registered, java.lang.Object parent) |
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 |
public static final int LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS
public static final int POOL_NAME_DOES_NOT_EXIST
public static final int MAX_SIZE_LESS_THAN_MIN_SIZE
public static final int POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN
public static final int JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE
public static final int MISSING_DESCRIPTOR
public static final int START_INDEX_OUT_OF_RANGE
public static final int STOP_INDEX_OUT_OF_RANGE
public static final int FATAL_ERROR_OCCURRED
public static final int NO_PROPERTIES_FILE_FOUND
public static final int CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP
public static final int FILE_ERROR
public static final int INCORRECT_LOGIN_INSTANCE_PROVIDED
public static final int INVALID_MERGE_POLICY
public static final int ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS
public static final int SEQUENCE_SETUP_INCORRECTLY
public static final int WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK
public static final int CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN
public static final int CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER
public static final int NO_SESSION_REGISTERED_FOR_CLASS
public static final int NO_SESSION_REGISTERED_FOR_NAME
public static final int CANNOT_ADD_DESCRIPTORS_TO_SESSION
public static final int CANNOT_LOGIN_TO_A_SESSION
public static final int CANNOT_LOGOUT_OF_A_SESSION
public static final int CANNOT_MODIFY_SCHEMA_IN_SESSION
public static final int LOG_IO_ERROR
public static final int CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK
public static final int CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK
public static final int INVALID_READ_ONLY_CLASS_STRUCTURE_IN_UNIT_OF_WORK
public static final int PLATFORM_CLASS_NOT_FOUND
public static final int NO_TABLES_TO_CREATE
public static final int ILLEGAL_CONTAINER_CLASS
public static final int CONTAINER_POLICY_DOES_NOT_USE_KEYS
public static final int METHOD_NOT_DECLARED_IN_ITEM_CLASS
public static final int MISSING_MAPPING
public static final int ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION
public static final int CANNOT_RELEASE_NON_CLIENTSESSION
public static final int CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION
public static final int OPTIMISTIC_LOCKING_NOT_SUPPORTED
public static final int WRONG_OBJECT_REGISTERED
public static final int KEYS_MUST_MATCH
public static final int INVALID_CONNECTOR
public static final int INVALID_DATA_SOURCE_NAME
public static final int CANNOT_ACQUIRE_DATA_SOURCE
public static final int JTS_EXCEPTION_RAISED
public static final int FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK
public static final int EJB_CONTAINER_EXCEPTION_RAISED
public static final int EJB_PRIMARY_KEY_REFLECTION_EXCEPTION
public static final int EJB_CANNOT_LOAD_REMOTE_CLASS
public static final int EJB_MUST_BE_IN_TRANSACTION
public static final int EJB_MUST_SET_LICENSE_KEY
public static final int EJB_INVALID_PROJECT_CLASS
public static final int PROJECT_AMENDMENT_EXCEPTION_OCCURED
public static final int EJB_TOPLINK_PROPERTIES_NOT_FOUND
public static final int CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS
public static final int EJB_INVALID_PLATFORM_CLASS
public static final int ORACLE_OBJECT_TYPE_NOT_DEFINED
public static final int ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED
public static final int ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED
public static final int DESCRIPTOR_MUST_NOT_BE_INITIALIZED
public static final int EJB_INVALID_FINDER_ON_HOME
public static final int EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES
public static final int EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION
public static final int EJB_FINDER_EXCEPTION
public static final int CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK
public static final int MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES
public static final int NO_PROJECT_SPECIFIED_IN_PROPERTIES
public static final int INVALID_FILE_TYPE
public static final int SUB_SESSION_NOT_DEFINED_FOR_BROKER
public static final int EJB_INVALID_SESSION_TYPE_CLASS
public static final int EJB_SESSION_TYPE_CLASS_NOT_FOUND
public static final int CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER
public static final int SESSION_AMENDMENT_EXCEPTION_OCCURED
public static final int SESSION_LIMIT_IS_EXCEEDED
public static final int SET_LISTENER_CLASSES_EXCEPTION
public static final int EXISTING_QUERY_TYPE_CONFLICT
public static final int QUERY_ARGUMENT_TYPE_NOT_FOUND
public static final int ERROR_IN_SESSION_XML
public static final int NO_SESSIONS_XML_FOUND
public static final int CANNOT_COMMIT_UOW_AGAIN
public static final int OPERATION_NOT_SUPPORTED
public static final int ERROR_WHILE_READING_LICENSE
public static final int PROJECT_XML_NOT_FOUND
public static final int LICENSE_FILE_NOT_FOUND
public static final int NO_TOPLINK_EJB_JAR_XML_FOUND
public static final int NULL_CACHE_KEY_FOUND_ON_REMOVAL
public static final int NULL_UNDERLYING_VALUEHOLDER_VALUE
public static final int INVALID_SEQUENCING_LOGIN
public static final int INVALID_ENCRYPTION_CLASS
public static final int ERROR_ENCRYPTING_PASSWORD
public static final int ERROR_DECRYPTING_PASSWORD
public static final int ALREADY_LOGGED_IN
Method Detail |
public static ValidationException cannotAcquireClientSessionFromSession()
public static ValidationException cannotAcquireDataSource(java.lang.Object name, java.lang.Exception exception)
public static ValidationException cannotSetListenerClasses(java.lang.Exception exception)
public static ValidationException cannotAddDescriptorsToSessionBroker()
public static ValidationException cannotCreateExternalTransactionController(java.lang.String externalTransactionControllerName)
public static ValidationException cannotHaveUnboundInOutputArguments()
public static ValidationException cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork()
public static ValidationException cannotRegisterAggregateObjectInUnitOfWork(java.lang.Class type)
public static ValidationException cannotReleaseNonClientSession()
public static ValidationException cannotRemoveFromReadOnlyClassesInNestedUnitOfWork()
public static ValidationException cannotSetReadPoolSizeAfterLogin()
public static ValidationException childDescriptorsDoNotHaveIdentityMap()
public static ValidationException containerPolicyDoesNotUseKeys(oracle.toplink.internal.queryframework.ContainerPolicy aPolicy, java.lang.String methodName)
public static ValidationException descriptorMustBeNotInitialized(Descriptor descriptor)
public static ValidationException ejbCannotLoadRemoteClass(java.lang.Exception exception, java.lang.Class beanClass, java.lang.String remoteClass)
public static ValidationException ejbContainerExceptionRaised(java.lang.Exception exception)
public static ValidationException ejbDescriptorNotFoundInSession(java.lang.Class beanClass, java.lang.String sessionName)
public static ValidationException ejbFinderException(java.lang.Object bean, java.lang.Throwable finderException, java.util.Vector primaryKey)
public static ValidationException ejbInvalidHomeInterfaceClass(java.lang.Class homeClassName)
public static ValidationException ejbInvalidPlatformClass(java.lang.String platformName, java.lang.String projectName)
public static ValidationException ejbInvalidProjectClass(java.lang.String projectClassName, java.lang.String projectName, java.lang.Throwable aThrowable)
public static ValidationException ejbInvalidSessionTypeClass(java.lang.String sessionType, java.lang.String sessionName)
public static ValidationException ejbMustBeInTransaction(java.lang.Object bean)
public static ValidationException ejbNoSuchSessionSpecifiedInProperties(java.lang.String sessionName, java.lang.Class beanClass)
public static ValidationException ejbPrimaryKeyReflectionException(java.lang.Exception exception, java.lang.Object primaryKey, java.lang.Object bean)
public static ValidationException ejbSessionTypeClassNotFound(java.lang.String sessionType, java.lang.String sessionName, java.lang.Throwable exception)
public static ValidationException ejbTopLinkPropertiesNotFound(java.lang.Exception exception)
public static ValidationException errorWhileReadingLicenseFile(java.lang.String url, java.lang.Exception exception)
public static ValidationException errorInSessionsXML(java.lang.String translatedExceptions)
public static ValidationException noPropertiesFileFound(java.lang.Exception exception)
public static ValidationException noSessionsXMLFound(java.lang.String resourceName)
public static ValidationException errorEncryptingPassword(java.lang.Exception exception)
public static ValidationException errorDecryptingPassword(java.lang.Exception exception)
public static ValidationException invalidEncryptionClass(java.lang.String className, java.lang.Throwable throwableError)
public static ValidationException noTopLinkEjbJarXMLFound()
public static ValidationException existingQueryTypeConflict(DatabaseQuery newQuery, DatabaseQuery existingQuery)
public static ValidationException fatalErrorOccurred(java.lang.Exception exception)
public static ValidationException fieldLevelLockingNotSupportedWithoutUnitOfWork()
public static ValidationException fileError(java.io.IOException exception)
public static ValidationException illegalContainerClass(java.lang.Class aClass)
public static ValidationException illegalUseOfMapInDirectCollection(DirectCollectionMapping directCollectionMapping, java.lang.Class aMapClass, java.lang.String keyMethodName)
public static ValidationException incorrectLoginInstanceProvided()
public static ValidationException invalidConnector(Connector connector)
public static ValidationException invalidDataSourceName(java.lang.String name, java.lang.Exception exception)
public static ValidationException invalidFileName(java.lang.String fileName)
public static ValidationException invalidMergePolicy()
public static ValidationException javaTypeIsNotAValidDatabaseType(java.lang.Class javaClass)
public static ValidationException jtsExceptionRaised(java.lang.Exception exception)
public static ValidationException loginBeforeAllocatingClientSessions()
public static ValidationException logIOError(java.io.IOException exception)
public static ValidationException maxSizeLessThanMinSize()
public static ValidationException methodNotDeclaredInItemClass(java.lang.String methodName, java.lang.Class aClass)
public static ValidationException missingDescriptor(java.lang.String className)
public static ValidationException missingMappingForAttribute(Descriptor descriptor, java.lang.String attributeName, java.lang.String source)
public static ValidationException multipleProjectsSpecifiedInProperties(java.lang.String bundleName, java.lang.String serverName)
public static ValidationException noProjectSpecifiedInProperties(java.lang.String bundleName, java.lang.String serverName)
public static ValidationException noSessionRegisteredForClass(java.lang.Class domainClass)
public static ValidationException noSessionRegisteredForName(java.lang.String sessionName)
public static ValidationException noTablesToCreate(Project project)
public static ValidationException onlyFieldsAreValidKeysForDatabaseRows()
public static ValidationException operationNotSupported(java.lang.String methodName)
public static ValidationException optimisticLockingNotSupportedWithStoredProcedureGeneration()
public static ValidationException oracleObjectTypeIsNotDefined(java.lang.String typeName)
public static ValidationException oracleObjectTypeNameIsNotDefined(java.lang.Class type)
public static ValidationException oracleVarrayMaximumSizeNotDefined(java.lang.String typeName)
public static ValidationException platformClassNotFound(java.lang.Exception exception, java.lang.String className)
public static ValidationException poolNameDoesNotExist(java.lang.String poolName)
public static ValidationException poolsMustBeConfiguredBeforeLogin()
public static ValidationException projectAmendmentExceptionOccured(java.lang.Exception exception, java.lang.String amendmentMethod, java.lang.String amendmentClass)
public static ValidationException projectXMLNotFound(java.lang.String projectXMLFile, java.lang.Exception exception)
public static ValidationException queryArgumentTypeNotFound(DatabaseQuery query, java.lang.String argumentName, java.lang.String typeAsString, java.lang.Exception exception)
public static ValidationException sequenceSetupIncorrectly(java.lang.String sequenceName)
public static ValidationException sessionAmendmentExceptionOccured(java.lang.Exception exception, java.lang.String amendmentMethod, java.lang.String amendmentClass, java.lang.Class[] parameters)
public static ValidationException startIndexOutOfRange()
public static ValidationException stopIndexOutOfRange()
public static ValidationException subSessionsNotDefinedForBroker(java.lang.String brokerName)
public static ValidationException writeObjectNotAllowedInUnitOfWork()
public static ValidationException wrongObjectRegistered(java.lang.Object registered, java.lang.Object parent)
public static ValidationException cannotCommitUOWAgain()
public static ValidationException nullCacheKeyFoundOnRemoval(oracle.toplink.internal.identitymaps.IdentityMap map, java.lang.Class clazz)
public static ValidationException nullUnderlyingValueHolderValue(java.lang.String methodName)
public static ValidationException invalidSequencingLogin()
public static ValidationException alreadyLoggedIn(java.lang.String sessionName)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |