Fields Summary |
---|
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 | MAP_KEY_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_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 | 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 | PROJECT_XML_NOT_FOUND |
public static final int | NO_SESSION_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 | NOT_SUPPORTED_FOR_DATASOURCE |
public static final int | PROJECT_LOGIN_IS_NULL |
public static final int | HISTORICAL_SESSION_ONLY_SUPPORTED_ON_ORACLE |
public static final int | CANNOT_ACQUIRE_HISTORICAL_SESSION |
public static final int | FEATURE_NOT_SUPPORTED_IN_JDK_VERSION |
public static final int | PLATFORM_DOES_NOT_SUPPORT_CALL_WITH_RETURNING |
public static final int | ISOLATED_DATA_NOT_SUPPORTED_IN_CLIENTSESSIONBROKER |
public static final int | CLIENT_SESSION_CANNOT_USE_EXCLUSIVE_CONNECTION |
public static final int | INVALID_METHOD_ARGUMENTS |
public static final int | MULTIPLE_CURSORS_NOT_SUPPORTED |
public static final int | WRONG_USAGE_OF_SET_CUSTOM_SQL_ARGUMENT_TYPE_METOD |
public static final int | CANNOT_TRANSLATE_UNPREPARED_CALL |
public static final int | CANNOT_SET_CURSOR_FOR_PARAMETER_TYPE_OTHER_THAN_OUT |
public static final int | PLATFORM_DOES_NOT_SUPPORT_STORED_FUNCTIONS |
public static final int | EXCLUSIVE_CONNECTION_NO_LONGER_AVAILABLE |
public static final int | UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING |
public static final int | UNIT_OF_WORK_AFTER_WRITE_CHANGES_FAILED |
public static final int | INACTIVE_UNIT_OF_WORK |
public static final int | CANNOT_WRITE_CHANGES_ON_NESTED_UNIT_OF_WORK |
public static final int | CANNOT_WRITE_CHANGES_TWICE |
public static final int | ALREADY_LOGGED_IN |
public static final int | INVALID_NULL_METHOD_ARGUMENTS |
public static final int | NESTED_UOW_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING |
public static final int | WRONG_COLLECTION_CHANGE_EVENT_TYPE |
public static final int | WRONG_CHANGE_EVENT |
public static final int | OLD_COMMIT_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING |
public static final int | SERVER_PLATFORM_IS_READ_ONLY_AFTER_LOGIN |
public static final int | CANNOT_COMMIT_AND_RESUME_UOW_WITH_MODIFY_ALL_QUERIES |
public static final int | NESTED_UOW_NOT_SUPPORTED_FOR_MODIFY_ALL_QUERY |
public static final int | UNFETCHED_ATTRIBUTE_NOT_EDITABLE |
public static final int | OBJECT_NEED_IMPL_TRACKER_FOR_FETCH_GROUP_USAGE |
public static final int | MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES |
public static final int | WRONG_SEQUENCE_TYPE |
public static final int | CANNOT_SET_DEFAULT_SEQUENCE_AS_DEFAULT |
public static final int | DEFAULT_SEQUENCE_NAME_ALREADY_USED_BY_SEQUENCE |
public static final int | SEQUENCE_NAME_ALREADY_USED_BY_DEFAULT_SEQUENCE |
public static final int | PLATFORM_DOES_NOT_SUPPORT_SEQUENCE |
public static final int | SEQUENCE_CANNOT_BE_CONNECTED_TO_TWO_PLATFORMS |
public static final int | QUERY_SEQUENCE_DOES_NOT_HAVE_SELECT_QUERY |
public static final int | CREATE_PLATFORM_DEFAULT_SEQUENCE_UNDEFINED |
public static final int | CANNOT_RESUME_SYNCHRONIZED_UOW |
public static final int | INVALID_COMPOSITE_PK_ATTRIBUTE |
public static final int | INVALID_COMPOSITE_PK_SPECIFICATION |
public static final int | INVALID_TYPE_FOR_ENUMERATED_ATTRIBUTE |
public static final int | TABLE_PER_CLASS_INHERITANCE_NOT_SUPPORTED |
public static final int | MAPPING_ANNOTATIONS_APPLIED_TO_TRANSIENT_ATTRIBUTE |
public static final int | NO_MAPPED_BY_ATTRIBUTE_FOUND |
public static final int | INVALID_TYPE_FOR_SERIALIZED_ATTRIBUTE |
public static final int | UNABLE_TO_LOAD_CLASS |
public static final int | INVALID_COLUMN_ANNOTATION_ON_RELATIONSHIP |
public static final int | ERROR_PROCESSING_NAMED_QUERY_ANNOTATION |
public static final int | COULD_NOT_FIND_MAP_KEY |
public static final int | UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ANNOTATIONS |
public static final int | NO_PK_ANNOTATIONS_FOUND |
public static final int | MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND |
public static final int | EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND |
public static final int | INVALID_TYPE_FOR_LOB_ATTRIBUTE |
public static final int | INVALID_TYPE_FOR_TEMPORAL_ATTRIBUTE |
public static final int | TABLE_GENERATOR_RESERVED_NAME |
public static final int | SEQUENCE_GENERATOR_RESERVED_NAME |
public static final int | INVALID_TYPE_FOR_VERSION_ATTRIBUTE |
public static final int | ONLY_ONE_GENERATED_VALURE_IS_ALLOWED |
public static final int | ERROR_INSTANTIATING_CLASS |
public static final int | WRONG_PROPERTY_NAME_IN_CHANGE_EVENT |
public static final int | NO_CORRESPONDING_SETTER_METHOD_DEFINED |
public static final int | UNSUPPORTED_CASCADE_LOCKING_MAPPING |
public static final int | UNSUPPORTED_CASCADE_LOCKING_MAPPING_WITH_CUSTOM_QUERY |
public static final int | UNSUPPORTED_CASCADE_LOCKING_DESCRIPTOR |
public static final int | ORACLEOCIPROXYCONNECTOR_REQUIRES_ORACLEOCICONNECTIONPOOL |
public static final int | ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION |
public static final int | ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION_VERSION |
public static final int | ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_INT_PROXYTYPE |
public static final int | COULD_NOT_FIND_DRIVER_CLASS |
public static final int | ERROR_CLOSING_PERSISTENCE_XML |
public static final int | CONFIG_FACTORY_NAME_PROPERTY_NOT_SPECIFIED |
public static final int | CONFIG_FACTORY_NAME_PROPERTY_NOT_FOUND |
public static final int | CANNOT_INVOKE_METHOD_ON_CONFIG_CLASS |
public static final int | CONFIG_METHOD_NOT_DEFINED |
public static final int | CLASS_LIST_MUST_NOT_BE_NULL |
public static final int | CURRENT_LOADER_NOT_VALID |
public static final int | METHOD_FAILED |
public static final int | ENTITY_CLASS_NOT_FOUND |
public static final int | CLASS_FILE_TRANSFORMER_THROWS_EXCEPTION |
public static final int | JAR_FILES_IN_PERSISTENCE_XML_NOT_SUPPORTED |
public static final int | COULD_NOT_BIND_JNDI |
public static final int | EXCEPTION_CONFIGURING_EM_FACTORY |
public static final int | CANNOT_CAST_TO_CLASS |
public static final int | NOT_SUPPORTED |
public static final int | CLASS_NOT_FOUND_WHILE_CONVERTING_CLASSNAMES |
public static final int | PRIMARY_TABLE_NOT_DEFINED_FOR_RELATIONSHIP |
public static final int | INVALID_EMBEDDABLE_ATTRIBUTE |
public static final int | INVALID_ENTITY_MAPPINGS_DOCUMENT |
public static final int | INVALID_ATTRIBUTE_OVERRIDE_NAME |
public static final int | INVALID_COLLECTION_TYPE_FOR_RELATIONSHIP |
public static final int | MULTIPLE_EMBEDDED_ID_ELEMENTS_FOUND |
public static final int | EMBEDDED_ID_AND_ID_ELEMENTS_FOUND |
public static final int | INVALID_CLASS_TYPE_FOR_BLOB_ATTRIBUTE |
public static final int | INVALID_CLASS_TYPE_FOR_CLOB_ATTRIBUTE |
public static final int | UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ELEMENTS |
public static final int | ERROR_PROCESSING_NAMED_QUERY_ELEMENT |
public static final int | INVALID_COLUMN_ELEMENT_ON_RELATIONSHIP |
public static final int | NO_TEMPORAL_TYPE_SPECIFIED |
public static final int | CIRCULAR_MAPPED_BY_REFERENCES |
public static final int | UNABLE_TO_DETERMINE_TARGET_ENTITY |
public static final int | UNABLE_TO_DETERMINE_CLASS_FOR_FIELD |
public static final int | UNABLE_TO_DETERMINE_CLASS_FOR_PROPERTY |
public static final int | INVALID_ORDER_BY_VALUE |
public static final int | PLATFORM_DOES_NOT_OVERRIDE_GETCREATETEMPTABLESQLPREFIX |
public static final int | MAPPING_DOES_NOT_OVERRIDE_VALUEFROMROWINTERNALWITHJOIN |
public static final int | INCOMPLETE_JOIN_COLUMNS_SPECIFIED |
public static final int | EXCESSIVE_JOIN_COLUMNS_SPECIFIED |
public static final int | INCOMPLETE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED |
public static final int | EXCESSIVE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED |
public static final int | INVALID_CALLBACK_METHOD |
public static final int | INVALID_CALLBACK_METHOD_NAME |
public static final int | INVALID_CALLBACK_METHOD_MODIFIER |
public static final int | MULTIPLE_CALLBACK_METHODS_DEFINED |
public static final int | INVALID_ENTITY_CALLBACK_METHOD_ARGUMENTS |
public static final int | INVALID_ENTITY_LISTENER_CALLBACK_METHOD_ARGUMENTS |
public static final int | PERSISTENCE_UNIT_METADATA_CONFLICT |
public static final int | CANNOT_PERSIST_MANAGED_OBJECT |
public static final int | UNSPECIFIED_COMPOSITE_PK_NOT_SUPPORTED |
public static final int | INCOMPLETE_JOIN_COLUMN_ELEMENTS_SPECIFIED |
public static final int | EXCESSIVE_JOIN_COLUMN_ELEMENTS_SPECIFIED |
public static final int | INCOMPLETE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED |
public static final int | EXCESSIVE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED |
public static final int | NON_UNIQUE_ENTITY_NAME |
public static final int | CONFLICTING_SEQUENCE_AND_TABLE_GENERATORS_SPECIFIED |
public static final int | CONFLICTING_SEQUENCE_GENERATORS_SPECIFIED |
public static final int | CONFLICTING_SEQUENCE_NAME_AND_TABLE_PK_COLUMN_VALUE_SPECIFIED |
public static final int | CONFLICTING_TABLE_GENERATORS_SPECIFIED |
public static final int | INSTANTIATING_VALUEHOLDER_WITH_NULL_SESSION |
public static final int | CLASS_NOT_LISTED_IN_PERSISTENCE_UNIT |
public static final int | INVALID_MAPPING |
public static final int | CONFLICTNG_ACCESS_TYPE_FOR_EMBEDDABLE |
public static final int | INVALID_EMBEDDED_ATTRIBUTE |
public static final int | BOTH_FIELDS_AND_PROPERTIES_ANNOTATED |
public static final int | INCORRECT_OVERRIDING_OF_ACCESSTYPE |
public static final int | EMBEDDED_ID_CLASS_HAS_NO_ATTR |
public static final int | NON_ENTITY_AS_TARGET_IN_REL |
public static final int | PRIMARY_KEY_UPDATE_DISALLOWED |
public static final int | NON_UNIQUE_MAPPING_FILE_NAME |
public static final int | MAPPING_FILE_NOT_FOUND |
Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.ValidationException | alreadyLoggedIn(java.lang.String sessionName)
Object[] args = { sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ALREADY_LOGGED_IN, args));
validationException.setErrorCode(ALREADY_LOGGED_IN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | bothFieldsAndPropertiesAnnotated(java.lang.Class javaClass)
Object[] args = {javaClass};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, BOTH_FIELDS_AND_PROPERTIES_ANNOTATED, args));
validationException.setErrorCode(BOTH_FIELDS_AND_PROPERTIES_ANNOTATED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotAcquireClientSessionFromSession()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION, args));
validationException.setErrorCode(CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotAcquireDataSource(java.lang.Object name, java.lang.Exception exception)
Object[] args = { name };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_ACQUIRE_DATA_SOURCE, args), exception);
validationException.setErrorCode(CANNOT_ACQUIRE_DATA_SOURCE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotAcquireHistoricalSession()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_ACQUIRE_HISTORICAL_SESSION, args));
validationException.setErrorCode(CANNOT_ACQUIRE_HISTORICAL_SESSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotAddDescriptorsToSessionBroker()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER, args));
validationException.setErrorCode(CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotCastToClass(java.lang.Object ob, java.lang.Class objectClass, java.lang.Class castClass)
Object[] args = { ob, objectClass, castClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_CAST_TO_CLASS, args));
validationException.setErrorCode(CANNOT_CAST_TO_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotCommitAndResumeSynchronizedUOW(oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_RESUME_SYNCHRONIZED_UOW, args));
validationException.setErrorCode(CANNOT_RESUME_SYNCHRONIZED_UOW);
validationException.setSession(uow);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotCommitAndResumeUOWWithModifyAllQueries()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_COMMIT_AND_RESUME_UOW_WITH_MODIFY_ALL_QUERIES, args));
validationException.setErrorCode(CANNOT_COMMIT_AND_RESUME_UOW_WITH_MODIFY_ALL_QUERIES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotCommitUOWAgain()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_COMMIT_UOW_AGAIN, args));
validationException.setErrorCode(CANNOT_COMMIT_UOW_AGAIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotCreateExternalTransactionController(java.lang.String externalTransactionControllerName)
Object[] args = { externalTransactionControllerName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER, args));
validationException.setErrorCode(CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotHaveUnboundInOutputArguments()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS, args));
validationException.setErrorCode(CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotInvokeMethodOnConfigClass(java.lang.String configMethod, java.lang.String configClass, java.lang.String configFactory, java.lang.Exception ex)
Object[] args = { configMethod, configClass, configFactory };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_INVOKE_METHOD_ON_CONFIG_CLASS, args), ex);
validationException.setErrorCode(CANNOT_INVOKE_METHOD_ON_CONFIG_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotIssueModifyAllQueryWithOtherWritesWithinUOW()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES, args));
validationException.setErrorCode(MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork()
Object[] args = { CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK, args));
validationException.setErrorCode(CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotPersistExistingObject(java.lang.Object registeredObject, oracle.toplink.essentials.sessions.Session session)
Vector key = new Vector();
if (session != null) {
key = session.keyFromObject(registeredObject);
}
Object[] args = { registeredObject, registeredObject.getClass().getName(), key, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_PERSIST_MANAGED_OBJECT, args));
validationException.setErrorCode(CANNOT_PERSIST_MANAGED_OBJECT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotRegisterAggregateObjectInUnitOfWork(java.lang.Class type)
Object[] args = { type };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK, args));
validationException.setErrorCode(CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotReleaseNonClientSession()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_RELEASE_NON_CLIENTSESSION, args));
validationException.setErrorCode(CANNOT_RELEASE_NON_CLIENTSESSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotRemoveFromReadOnlyClassesInNestedUnitOfWork()
Object[] args = { CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK, args));
validationException.setErrorCode(CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotSetCursorForParameterTypeOtherThanOut(java.lang.String fieldName, java.lang.String callString)
Object[] args = { fieldName, callString };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_SET_CURSOR_FOR_PARAMETER_TYPE_OTHER_THAN_OUT, args));
validationException.setErrorCode(CANNOT_SET_CURSOR_FOR_PARAMETER_TYPE_OTHER_THAN_OUT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotSetDefaultSequenceAsDefault(java.lang.String seqName)
Object[] args = { seqName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_SET_DEFAULT_SEQUENCE_AS_DEFAULT, args));
validationException.setErrorCode(CANNOT_SET_DEFAULT_SEQUENCE_AS_DEFAULT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotSetListenerClasses(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SET_LISTENER_CLASSES_EXCEPTION, args), exception);
validationException.setErrorCode(SET_LISTENER_CLASSES_EXCEPTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotSetReadPoolSizeAfterLogin()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN, args));
validationException.setErrorCode(CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotTranslateUnpreparedCall(java.lang.String callString)
Object[] args = { callString };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_TRANSLATE_UNPREPARED_CALL, args));
validationException.setErrorCode(CANNOT_TRANSLATE_UNPREPARED_CALL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | cannotWriteChangesTwice()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_WRITE_CHANGES_TWICE, args));
validationException.setErrorCode(CANNOT_WRITE_CHANGES_TWICE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | childDescriptorsDoNotHaveIdentityMap()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP, args));
validationException.setErrorCode(CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | circularMappedByReferences(java.lang.Class cls1, java.lang.String attributeName1, java.lang.Class cls2, java.lang.String attributeName2)
Object[] args = { cls1, attributeName1, cls2, attributeName2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CIRCULAR_MAPPED_BY_REFERENCES, args));
validationException.setErrorCode(CIRCULAR_MAPPED_BY_REFERENCES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | classFileTransformerThrowsException(java.lang.Object transformer, java.lang.String className, java.lang.Exception ex)
Object[] args = { transformer, className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CLASS_FILE_TRANSFORMER_THROWS_EXCEPTION, args), ex);
validationException.setErrorCode(CLASS_FILE_TRANSFORMER_THROWS_EXCEPTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | classListMustNotBeNull()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CLASS_LIST_MUST_NOT_BE_NULL, args));
validationException.setErrorCode(CLASS_LIST_MUST_NOT_BE_NULL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | classNotFoundWhileConvertingClassNames(java.lang.String className, java.lang.Exception exception)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CLASS_NOT_FOUND_WHILE_CONVERTING_CLASSNAMES, args), exception);
validationException.setErrorCode(CLASS_NOT_FOUND_WHILE_CONVERTING_CLASSNAMES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | classNotListedInPersistenceUnit(java.lang.String className)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CLASS_NOT_LISTED_IN_PERSISTENCE_UNIT, args));
validationException.setErrorCode(CLASS_NOT_LISTED_IN_PERSISTENCE_UNIT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | clientSessionCanNotUseExclusiveConnection()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CLIENT_SESSION_CANNOT_USE_EXCLUSIVE_CONNECTION, args));
validationException.setErrorCode(CLIENT_SESSION_CANNOT_USE_EXCLUSIVE_CONNECTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | configFactoryNamePropertyNotFound(java.lang.String configClass, java.lang.String configFactory, java.lang.Exception ex)
Object[] args = { configClass, configFactory };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFIG_FACTORY_NAME_PROPERTY_NOT_FOUND, args), ex);
validationException.setErrorCode(CONFIG_FACTORY_NAME_PROPERTY_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | configFactoryNamePropertyNotSpecified(java.lang.String configFactory)
Object[] args = { configFactory };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFIG_FACTORY_NAME_PROPERTY_NOT_SPECIFIED, args));
validationException.setErrorCode(CONFIG_FACTORY_NAME_PROPERTY_NOT_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | configMethodNotDefined(java.lang.String configClass, java.lang.String configMethod)
Object[] args = { configClass, configMethod };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFIG_METHOD_NOT_DEFINED, args));
validationException.setErrorCode(CONFIG_METHOD_NOT_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | conflictingAccessTypeForEmbeddable(java.lang.Class embeddableClass)
Object[] args = {embeddableClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFLICTNG_ACCESS_TYPE_FOR_EMBEDDABLE, args));
validationException.setErrorCode(CONFLICTNG_ACCESS_TYPE_FOR_EMBEDDABLE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | conflictingSequenceAndTableGeneratorsSpecified(java.lang.String name, java.lang.String sequenceGeneratorLocation, java.lang.String tableGeneratorLocation)
Object[] args = { name, sequenceGeneratorLocation, tableGeneratorLocation };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFLICTING_SEQUENCE_AND_TABLE_GENERATORS_SPECIFIED, args));
validationException.setErrorCode(CONFLICTING_SEQUENCE_AND_TABLE_GENERATORS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | conflictingSequenceGeneratorsSpecified(java.lang.String name, java.lang.String location1, java.lang.String location2)
Object[] args = { name, location1, location2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFLICTING_SEQUENCE_GENERATORS_SPECIFIED, args));
validationException.setErrorCode(CONFLICTING_SEQUENCE_GENERATORS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | conflictingSequenceNameAndTablePkColumnValueSpecified(java.lang.String name, java.lang.String sequenceGeneratorLocation, java.lang.String tableGeneratorLocation)
Object[] args = { name, sequenceGeneratorLocation, tableGeneratorLocation };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFLICTING_SEQUENCE_NAME_AND_TABLE_PK_COLUMN_VALUE_SPECIFIED, args));
validationException.setErrorCode(CONFLICTING_SEQUENCE_NAME_AND_TABLE_PK_COLUMN_VALUE_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | conflictingTableGeneratorsSpecified(java.lang.String name, java.lang.String location1, java.lang.String location2)
Object[] args = { name, location1, location2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONFLICTING_TABLE_GENERATORS_SPECIFIED, args));
validationException.setErrorCode(CONFLICTING_TABLE_GENERATORS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | containerPolicyDoesNotUseKeys(oracle.toplink.essentials.internal.queryframework.ContainerPolicy aPolicy, java.lang.String methodName)
Object[] args = { aPolicy.getContainerClass().toString(), methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CONTAINER_POLICY_DOES_NOT_USE_KEYS, args));
validationException.setErrorCode(CONTAINER_POLICY_DOES_NOT_USE_KEYS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | couldNotBindJndi(java.lang.String bindName, java.lang.Object bindValue, java.lang.Exception ex)
Object[] args = { bindName, bindValue };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, COULD_NOT_BIND_JNDI, args), ex);
validationException.setErrorCode(COULD_NOT_BIND_JNDI);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | couldNotFindDriverClass(java.lang.Object driver, java.lang.Exception ex)
Object[] args = { driver };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, COULD_NOT_FIND_DRIVER_CLASS, args), ex);
validationException.setErrorCode(COULD_NOT_FIND_DRIVER_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | couldNotFindMapKey(java.lang.String attributeName, java.lang.Class entityClass, oracle.toplink.essentials.mappings.DatabaseMapping mapping)
Object[] args = { attributeName, entityClass, mapping };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, COULD_NOT_FIND_MAP_KEY, args));
validationException.setErrorCode(COULD_NOT_FIND_MAP_KEY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | createPlatformDefaultSequenceUndefined(java.lang.String platformTypeName)
Object[] args = { platformTypeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CREATE_PLATFORM_DEFAULT_SEQUENCE_UNDEFINED, args));
validationException.setErrorCode(CREATE_PLATFORM_DEFAULT_SEQUENCE_UNDEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | currentLoaderNotValid(java.lang.ClassLoader loader)
Object[] args = { loader };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CURRENT_LOADER_NOT_VALID, args));
validationException.setErrorCode(CURRENT_LOADER_NOT_VALID);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | defaultSequenceNameAlreadyUsedBySequence(java.lang.String seqName)
Object[] args = { seqName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, DEFAULT_SEQUENCE_NAME_ALREADY_USED_BY_SEQUENCE, args));
validationException.setErrorCode(DEFAULT_SEQUENCE_NAME_ALREADY_USED_BY_SEQUENCE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | descriptorMustBeNotInitialized(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)
Object[] args = { descriptor, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, DESCRIPTOR_MUST_NOT_BE_INITIALIZED, args));
validationException.setErrorCode(DESCRIPTOR_MUST_NOT_BE_INITIALIZED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbCannotLoadRemoteClass(java.lang.Exception exception, java.lang.Class beanClass, java.lang.String remoteClass)
Object[] args = { beanClass, remoteClass, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_CANNOT_LOAD_REMOTE_CLASS, args), exception);
validationException.setErrorCode(EJB_CANNOT_LOAD_REMOTE_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbContainerExceptionRaised(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_CONTAINER_EXCEPTION_RAISED, args), exception);
validationException.setErrorCode(EJB_CONTAINER_EXCEPTION_RAISED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the project specified in the TopLink.properties file is the desired project.
Object[] args = { beanClass.getName(), sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION, args));
validationException.setErrorCode(EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbFinderException(java.lang.Object bean, java.lang.Throwable finderException, java.util.Vector primaryKey)
Object[] args = { bean, bean.getClass(), primaryKey };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_FINDER_EXCEPTION, args));
validationException.setErrorCode(EJB_FINDER_EXCEPTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbInvalidHomeInterfaceClass(java.lang.Class homeClassName)
Object[] args = { homeClassName.toString() };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_INVALID_FINDER_ON_HOME, args));
validationException.setErrorCode(EJB_INVALID_FINDER_ON_HOME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbInvalidPlatformClass(java.lang.String platformName, java.lang.String projectName)
Object[] args = { platformName, projectName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_INVALID_PLATFORM_CLASS, args));
validationException.setErrorCode(EJB_INVALID_PLATFORM_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the project class given in the exception is on the WebSphere dependent classpath.
Object[] args = { projectClassName, projectName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_INVALID_PROJECT_CLASS, args));
validationException.setInternalException(aThrowable);
validationException.setErrorCode(EJB_INVALID_PROJECT_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check the session type must be either DatabaseSession or it's subclasses type (including the user-defined session type, which must be extended from DatabaseSession).
Object[] args = { sessionType, sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_INVALID_SESSION_TYPE_CLASS, args));
validationException.setErrorCode(EJB_INVALID_SESSION_TYPE_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbMustBeInTransaction(java.lang.Object bean)PUBLIC:
Possible cause: An attempt was made to create or remove a been outside of a transaction.
Action: Ensure that all removing and creating of beans is done within a transaction.
Object[] args = { bean, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_MUST_BE_IN_TRANSACTION, args));
validationException.setErrorCode(EJB_MUST_BE_IN_TRANSACTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the session is in the properties file and check for any possible spelling differences. If necessary, correct the value of toplink_sessoin_name, regenerate thedeployment code, and redeploy.
Object[] args = { sessionName, beanClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES, args));
validationException.setErrorCode(EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Ensure that you are using the correct primary key object for a bean.
Object[] args = { primaryKey, bean, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_PRIMARY_KEY_REFLECTION_EXCEPTION, args), exception);
validationException.setErrorCode(EJB_PRIMARY_KEY_REFLECTION_EXCEPTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the session class given in the exception is on the app server classpath.
Object[] args = { sessionType, sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_SESSION_TYPE_CLASS_NOT_FOUND, args));
validationException.setErrorCode(EJB_SESSION_TYPE_CLASS_NOT_FOUND);
validationException.setInternalException(exception);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | ejbTopLinkPropertiesNotFound(java.lang.Exception exception)PUBLIC:
Possible cause: The TopLink.properties file can not be found.
Action: Make sure that the location of the TopLink.properties files is on the classpath. If the exception is within VisualAge the TopLink.properties file must be in the project resources for the TopLink project.
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EJB_TOPLINK_PROPERTIES_NOT_FOUND, args));
validationException.setInternalException(exception);
validationException.setErrorCode(EJB_TOPLINK_PROPERTIES_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | embeddedIdAndIdAnnotationFound(java.lang.Class entityClass, java.lang.String embeddedIdAttributeName, java.lang.String idAttributeName)
Object[] args = { entityClass, embeddedIdAttributeName, idAttributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND, args));
validationException.setErrorCode(EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | embeddedIdAndIdElementFound(java.lang.Class entityClass, java.lang.String embeddedIdAttributeName, java.lang.String idAttributeName)
Object[] args = { entityClass, embeddedIdAttributeName, idAttributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EMBEDDED_ID_AND_ID_ELEMENTS_FOUND, args));
validationException.setErrorCode(EMBEDDED_ID_AND_ID_ELEMENTS_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | embeddedIdHasNoAttributes(java.lang.Class entityClass, java.lang.Class embeddableClass, java.lang.String accessType)
Object[] args = {entityClass, embeddableClass, accessType};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EMBEDDED_ID_CLASS_HAS_NO_ATTR, args));
validationException.setErrorCode(EMBEDDED_ID_CLASS_HAS_NO_ATTR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | entityClassNotFound(java.lang.String entityClass, java.lang.ClassLoader loader, java.lang.Exception ex)
Object[] args = { entityClass, loader };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ENTITY_CLASS_NOT_FOUND, args), ex);
validationException.setErrorCode(ENTITY_CLASS_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorClosingPersistenceXML(java.lang.Exception ex)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_CLOSING_PERSISTENCE_XML, args), ex);
validationException.setErrorCode(ERROR_CLOSING_PERSISTENCE_XML);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorDecryptingPassword(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_DECRYPTING_PASSWORD, args), exception);
validationException.setErrorCode(ERROR_DECRYPTING_PASSWORD);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorEncryptingPassword(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_ENCRYPTING_PASSWORD, args), exception);
validationException.setErrorCode(ERROR_ENCRYPTING_PASSWORD);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorInSessionsXML(java.lang.String translatedExceptions)PUBLIC:
The session named "name" could not be found in the Sessions.XML
ValidationException validationException = new ValidationException(translatedExceptions);
validationException.setErrorCode(ERROR_IN_SESSION_XML);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorInstantiatingClass(java.lang.Class cls, java.lang.Exception exception)
Object[] args = { cls };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_INSTANTIATING_CLASS, args), exception);
validationException.setErrorCode(ERROR_INSTANTIATING_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorProcessingNamedQueryAnnotation(java.lang.Class entityClass, java.lang.String namedQuery, java.lang.Exception exception)
Object[] args = { entityClass, namedQuery };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_PROCESSING_NAMED_QUERY_ANNOTATION, args), exception);
validationException.setErrorCode(ERROR_PROCESSING_NAMED_QUERY_ANNOTATION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | errorProcessingNamedQueryElement(java.lang.String namedQuery, java.lang.Exception exception)
Object[] args = { namedQuery };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ERROR_PROCESSING_NAMED_QUERY_ELEMENT, args), exception);
validationException.setErrorCode(ERROR_PROCESSING_NAMED_QUERY_ELEMENT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | exceptionConfiguringEMFactory(java.lang.Exception ex)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCEPTION_CONFIGURING_EM_FACTORY, args), ex);
validationException.setErrorCode(EXCEPTION_CONFIGURING_EM_FACTORY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | excessiveJoinColumnElementsSpecified(java.lang.String attributeName, java.lang.Class javaClass)
Object[] args = { attributeName, javaClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCESSIVE_JOIN_COLUMN_ELEMENTS_SPECIFIED, args));
validationException.setErrorCode(EXCESSIVE_JOIN_COLUMN_ELEMENTS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | excessiveJoinColumnsSpecified(java.lang.Object annotatedElement, java.lang.Class javaClass)
Object[] args = { annotatedElement, javaClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCESSIVE_JOIN_COLUMNS_SPECIFIED, args));
validationException.setErrorCode(EXCESSIVE_JOIN_COLUMNS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | excessivePrimaryKeyJoinColumnElementsSpecified(java.lang.Object annotatedElement)
Object[] args = { annotatedElement };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCESSIVE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED, args));
validationException.setErrorCode(EXCESSIVE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | excessivePrimaryKeyJoinColumnsSpecified(java.lang.Object annotatedElement)
Object[] args = { annotatedElement };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCESSIVE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, args));
validationException.setErrorCode(EXCESSIVE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | excusiveConnectionIsNoLongerAvailable(oracle.toplink.essentials.queryframework.DatabaseQuery query, oracle.toplink.essentials.internal.sessions.AbstractSession session)
Object[] args = { query.getReferenceClass().getName() };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXCLUSIVE_CONNECTION_NO_LONGER_AVAILABLE, args));
validationException.setErrorCode(EXCLUSIVE_CONNECTION_NO_LONGER_AVAILABLE);
validationException.setSession(session);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | existingQueryTypeConflict(oracle.toplink.essentials.queryframework.DatabaseQuery newQuery, oracle.toplink.essentials.queryframework.DatabaseQuery existingQuery)
Object[] args = { newQuery, newQuery.getName(), newQuery.getArgumentTypes(), existingQuery, existingQuery.getName(), existingQuery.getArgumentTypes() };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, EXISTING_QUERY_TYPE_CONFLICT, args));
validationException.setErrorCode(EXISTING_QUERY_TYPE_CONFLICT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | fatalErrorOccurred(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, FATAL_ERROR_OCCURRED, args), exception);
validationException.setErrorCode(FATAL_ERROR_OCCURRED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | featureIsNotAvailableInRunningJDKVersion(java.lang.String feature)
Object[] args = { feature, System.getProperty("java.version") };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, FEATURE_NOT_SUPPORTED_IN_JDK_VERSION, args));
validationException.setErrorCode(FEATURE_NOT_SUPPORTED_IN_JDK_VERSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | fieldLevelLockingNotSupportedWithoutUnitOfWork()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK, args));
validationException.setErrorCode(FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | fileError(java.io.IOException exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, FILE_ERROR, args), exception);
validationException.setErrorCode(FILE_ERROR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | historicalSessionOnlySupportedOnOracle()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, HISTORICAL_SESSION_ONLY_SUPPORTED_ON_ORACLE, args));
validationException.setErrorCode(HISTORICAL_SESSION_ONLY_SUPPORTED_ON_ORACLE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | illegalContainerClass(java.lang.Class aClass)
Object[] args = { aClass.toString() };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ILLEGAL_CONTAINER_CLASS, args));
validationException.setErrorCode(ILLEGAL_CONTAINER_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | illegalOperationForUnitOfWorkLifecycle(int lifecycle, java.lang.String operation)
switch (lifecycle) {
case UnitOfWorkImpl.CommitTransactionPending:
return unitOfWorkInTransactionCommitPending(operation);
case UnitOfWorkImpl.WriteChangesFailed:
return unitOfWorkAfterWriteChangesFailed(operation);
case UnitOfWorkImpl.Death:default:
return inActiveUnitOfWork(operation);
}
|
public static oracle.toplink.essentials.exceptions.ValidationException | illegalUseOfMapInDirectCollection(oracle.toplink.essentials.mappings.DirectCollectionMapping directCollectionMapping, java.lang.Class aMapClass, java.lang.String keyMethodName)
Object[] args = { directCollectionMapping, keyMethodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION, args));
validationException.setErrorCode(ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | inActiveUnitOfWork(java.lang.String operation)
Object[] args = { operation };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INACTIVE_UNIT_OF_WORK, args));
validationException.setErrorCode(INACTIVE_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incompleteJoinColumnElementsSpecified(java.lang.Object attributeName, java.lang.Class javaClass)
Object[] args = { attributeName, javaClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCOMPLETE_JOIN_COLUMN_ELEMENTS_SPECIFIED, args));
validationException.setErrorCode(INCOMPLETE_JOIN_COLUMN_ELEMENTS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incompleteJoinColumnsSpecified(java.lang.Object annotatedElement, java.lang.Class javaClass)
Object[] args = { annotatedElement, javaClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCOMPLETE_JOIN_COLUMNS_SPECIFIED, args));
validationException.setErrorCode(INCOMPLETE_JOIN_COLUMNS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incompletePrimaryKeyJoinColumnElementsSpecified(java.lang.Object annotatedElement)
Object[] args = { annotatedElement };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCOMPLETE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED, args));
validationException.setErrorCode(INCOMPLETE_PK_JOIN_COLUMN_ELEMENTS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incompletePrimaryKeyJoinColumnsSpecified(java.lang.Object annotatedElement)
Object[] args = { annotatedElement };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCOMPLETE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, args));
validationException.setErrorCode(INCOMPLETE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incorrectLoginInstanceProvided()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCORRECT_LOGIN_INSTANCE_PROVIDED, args));
validationException.setErrorCode(INCORRECT_LOGIN_INSTANCE_PROVIDED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | incorrectOverridingOfAccessType(java.lang.Class javaClass, java.lang.String xmlAccessType, java.lang.String annotAccessType)
Object[] args = {javaClass, xmlAccessType, annotAccessType};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INCORRECT_OVERRIDING_OF_ACCESSTYPE, args));
validationException.setErrorCode(INCORRECT_OVERRIDING_OF_ACCESSTYPE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | instantiatingValueholderWithNullSession()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INSTANTIATING_VALUEHOLDER_WITH_NULL_SESSION, args));
validationException.setErrorCode(INSTANTIATING_VALUEHOLDER_WITH_NULL_SESSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidAttributeOverrideName(java.lang.String columnName, java.lang.Class embeddableClass)PUBLIC:
Possible cause: A mapping for the attribute name specified in the attribute-override cannot be found
in the descriptor for the embeddable class.
Action: Ensure that there is an attribute on the embeddable class matching the attribute name in the
attribute-override declaration.
Object[] args = { columnName, embeddableClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ATTRIBUTE_OVERRIDE_NAME, args));
validationException.setErrorCode(INVALID_ATTRIBUTE_OVERRIDE_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCallbackMethod(java.lang.Class listenerClass, java.lang.String methodName)
Object[] args = { listenerClass, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CALLBACK_METHOD, args));
validationException.setErrorCode(INVALID_CALLBACK_METHOD);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCallbackMethodModifier(java.lang.Class listenerClass, java.lang.String methodName)
Object[] args = { listenerClass, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CALLBACK_METHOD_MODIFIER, args));
validationException.setErrorCode(INVALID_CALLBACK_METHOD_MODIFIER);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCallbackMethodName(java.lang.Class listenerClass, java.lang.String methodName)
Object[] args = { listenerClass, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CALLBACK_METHOD_NAME, args));
validationException.setErrorCode(INVALID_CALLBACK_METHOD_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidClassTypeForBLOBAttribute(java.lang.Class entityClass, java.lang.String attributeName)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CLASS_TYPE_FOR_BLOB_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_CLASS_TYPE_FOR_BLOB_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidClassTypeForCLOBAttribute(java.lang.Class entityClass, java.lang.String attributeName)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CLASS_TYPE_FOR_CLOB_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_CLASS_TYPE_FOR_CLOB_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCollectionTypeForRelationship(java.lang.Class cls, java.lang.Class rawClass, java.lang.Object element)
Object[] args = { rawClass, element, cls };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_COLLECTION_TYPE_FOR_RELATIONSHIP, args));
validationException.setErrorCode(INVALID_COLLECTION_TYPE_FOR_RELATIONSHIP);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidColumnAnnotationOnRelationship(java.lang.Class entityClass, java.lang.String attributeName)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_COLUMN_ANNOTATION_ON_RELATIONSHIP, args));
validationException.setErrorCode(INVALID_COLUMN_ANNOTATION_ON_RELATIONSHIP);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidColumnElementOnRelationship(java.lang.Class entityClass, java.lang.String attributeName)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_COLUMN_ELEMENT_ON_RELATIONSHIP, args));
validationException.setErrorCode(INVALID_COLUMN_ELEMENT_ON_RELATIONSHIP);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCompositePKAttribute(java.lang.Class entityClass, java.lang.String pkClassName, java.lang.String attributeName, java.lang.reflect.Type expectedType, java.lang.reflect.Type actualType)
Object[] args = { entityClass, pkClassName, attributeName, expectedType, actualType };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_COMPOSITE_PK_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_COMPOSITE_PK_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidCompositePKSpecification(java.lang.Class entityClass, java.lang.String pkClassName)
Object[] args = { entityClass, pkClassName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_COMPOSITE_PK_SPECIFICATION, args));
validationException.setErrorCode(INVALID_COMPOSITE_PK_SPECIFICATION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidConnector(oracle.toplink.essentials.sessions.Connector connector)
Object[] args = { connector };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_CONNECTOR, args));
validationException.setErrorCode(INVALID_CONNECTOR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidDataSourceName(java.lang.String name, java.lang.Exception exception)
Object[] args = { name };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_DATA_SOURCE_NAME, args), exception);
validationException.setErrorCode(INVALID_DATA_SOURCE_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEmbeddableAttribute(java.lang.Class aggregateClass, java.lang.String aggregateAttributeName, java.lang.Class owningClass, java.lang.String owningAttributeName)
Object[] args = { aggregateClass, aggregateAttributeName, owningClass, owningAttributeName};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_EMBEDDABLE_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_EMBEDDABLE_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEmbeddedAttribute(java.lang.Class javaClass, java.lang.String attributeName, java.lang.Class embeddableClass)
Object[] args = {javaClass, attributeName, embeddableClass};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_EMBEDDED_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_EMBEDDED_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEncryptionClass(java.lang.String className, java.lang.Throwable throwableError)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ENCRYPTION_CLASS, args));
validationException.setErrorCode(INVALID_ENCRYPTION_CLASS);
validationException.setInternalException(throwableError);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEntityCallbackMethodArguments(java.lang.Class entityClass, java.lang.String methodName)
Object[] args = { entityClass, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ENTITY_CALLBACK_METHOD_ARGUMENTS, args));
validationException.setErrorCode(INVALID_ENTITY_CALLBACK_METHOD_ARGUMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEntityListenerCallbackMethodArguments(java.lang.Class entityClass, java.lang.Class parameterClass, java.lang.Class entityListener, java.lang.String methodName)
Object[] args = { entityClass, parameterClass, entityListener, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ENTITY_LISTENER_CALLBACK_METHOD_ARGUMENTS, args));
validationException.setErrorCode(INVALID_ENTITY_LISTENER_CALLBACK_METHOD_ARGUMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidEntityMappingsDocument(java.lang.String fileName, java.lang.Exception exception)PUBLIC:
Possible cause: Either the URL for the entity-mappings document is invalid, or there is an error in the document.
Action: Verify that the URL is correct. If so, analyze the exception message for an indication of what is wrong withthe document.
Object[] args = { fileName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ENTITY_MAPPINGS_DOCUMENT, args), exception);
validationException.setErrorCode(INVALID_ENTITY_MAPPINGS_DOCUMENT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidFileName(java.lang.String fileName)
Object[] args = { fileName };
ValidationException exception = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_FILE_TYPE, args));
exception.setErrorCode(INVALID_FILE_TYPE);
return exception;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidMapping(java.lang.Class entityClass, java.lang.Class targetClass)
Object[] args = { entityClass, targetClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_MAPPING, args));
validationException.setErrorCode(INVALID_MAPPING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidMergePolicy()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_MERGE_POLICY, args));
validationException.setErrorCode(INVALID_MERGE_POLICY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidMethodArguments()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_METHOD_ARGUMENTS, args));
validationException.setErrorCode(INVALID_METHOD_ARGUMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidNullMethodArguments()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_NULL_METHOD_ARGUMENTS, args));
validationException.setErrorCode(INVALID_NULL_METHOD_ARGUMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidOrderByValue(java.lang.String referenceAttribute, java.lang.Class referenceClass, java.lang.String entityAttribute, java.lang.Class entityClass)PUBLIC:
Possible cause: The order-by value provided does not correspond to an attribute on the target entity.
Action: Ensure that an attribute with the same name as the order-by value exists on the target entity.
Object[] args = { referenceAttribute, referenceClass, entityAttribute, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_ORDER_BY_VALUE, args));
validationException.setErrorCode(INVALID_ORDER_BY_VALUE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidSequencingLogin()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_SEQUENCING_LOGIN, args));
validationException.setErrorCode(INVALID_SEQUENCING_LOGIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidTypeForEnumeratedAttribute(java.lang.String attributeName, java.lang.Class targetClass, java.lang.Class entityClass)
Object[] args = { attributeName, targetClass, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_TYPE_FOR_ENUMERATED_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_TYPE_FOR_ENUMERATED_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidTypeForLOBAttribute(java.lang.String attributeName, java.lang.Class targetClass, java.lang.Class entityClass)
Object[] args = { attributeName, targetClass, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_TYPE_FOR_LOB_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_TYPE_FOR_LOB_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidTypeForSerializedAttribute(java.lang.String attributeName, java.lang.Class targetClass, java.lang.Class entityClass)
Object[] args = { attributeName, targetClass, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_TYPE_FOR_SERIALIZED_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_TYPE_FOR_SERIALIZED_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidTypeForTemporalAttribute(java.lang.String attributeName, java.lang.Class targetClass, java.lang.Class entityClass)
Object[] args = { attributeName, targetClass, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_TYPE_FOR_TEMPORAL_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_TYPE_FOR_TEMPORAL_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | invalidTypeForVersionAttribute(java.lang.String attributeName, java.lang.Class lockingType, java.lang.Class entityClass)
Object[] args = { attributeName, lockingType, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, INVALID_TYPE_FOR_VERSION_ATTRIBUTE, args));
validationException.setErrorCode(INVALID_TYPE_FOR_VERSION_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | isolatedDataNotSupportedInSessionBroker(java.lang.String sessionName)
Object[] args = { sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ISOLATED_DATA_NOT_SUPPORTED_IN_CLIENTSESSIONBROKER, args));
validationException.setErrorCode(ISOLATED_DATA_NOT_SUPPORTED_IN_CLIENTSESSIONBROKER);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | jarFilesInPersistenceXmlNotSupported()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, JAR_FILES_IN_PERSISTENCE_XML_NOT_SUPPORTED, args));
validationException.setErrorCode(JAR_FILES_IN_PERSISTENCE_XML_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | javaTypeIsNotAValidDatabaseType(java.lang.Class javaClass)
Object[] args = { javaClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE, args));
validationException.setErrorCode(JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | jtsExceptionRaised(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, JTS_EXCEPTION_RAISED, args), exception);
validationException.setErrorCode(JTS_EXCEPTION_RAISED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | logIOError(java.io.IOException exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, LOG_IO_ERROR, args), exception);
validationException.setErrorCode(LOG_IO_ERROR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | loginBeforeAllocatingClientSessions()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS, args));
validationException.setErrorCode(LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | mapKeyNotDeclaredInItemClass(java.lang.String keyName, java.lang.Class aClass)
Object[] args = { keyName, aClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MAP_KEY_NOT_DECLARED_IN_ITEM_CLASS, args));
validationException.setErrorCode(MAP_KEY_NOT_DECLARED_IN_ITEM_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | mappingAnnotationsAppliedToTransientAttribute(java.lang.Object annotatedElement)
Object[] args = { annotatedElement };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MAPPING_ANNOTATIONS_APPLIED_TO_TRANSIENT_ATTRIBUTE, args));
validationException.setErrorCode(MAPPING_ANNOTATIONS_APPLIED_TO_TRANSIENT_ATTRIBUTE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | mappingDoesNotOverrideValueFromRowInternalWithJoin(java.lang.String className)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MAPPING_DOES_NOT_OVERRIDE_VALUEFROMROWINTERNALWITHJOIN, args));
validationException.setErrorCode(MAPPING_DOES_NOT_OVERRIDE_VALUEFROMROWINTERNALWITHJOIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | mappingFileNotFound(java.lang.String puName, java.lang.String mf)
Object[] args = {puName, mf};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MAPPING_FILE_NOT_FOUND, args));
validationException.setErrorCode(MAPPING_FILE_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | maxSizeLessThanMinSize()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MAX_SIZE_LESS_THAN_MIN_SIZE, args));
validationException.setErrorCode(MAX_SIZE_LESS_THAN_MIN_SIZE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | methodFailed(java.lang.String methodName, java.lang.Exception ex)
Object[] args = { methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, METHOD_FAILED, args), ex);
validationException.setErrorCode(METHOD_FAILED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | missingDescriptor(java.lang.String className)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MISSING_DESCRIPTOR, args));
validationException.setErrorCode(MISSING_DESCRIPTOR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | missingMappingForAttribute(oracle.toplink.essentials.descriptors.ClassDescriptor 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. The source
is a string describing where the lookup was called from.
Object[] args = { descriptor, attributeName, source };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MISSING_MAPPING, args));
validationException.setErrorCode(MISSING_MAPPING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | multipleCursorsNotSupported(java.lang.String callString)
Object[] args = { callString };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MULTIPLE_CURSORS_NOT_SUPPORTED, args));
validationException.setErrorCode(MULTIPLE_CURSORS_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | multipleEmbeddedIdAnnotationsFound(java.lang.Class entityClass, java.lang.String attributeName1, java.lang.String attributeName2)
Object[] args = { entityClass, attributeName1, attributeName2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND, args));
validationException.setErrorCode(MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | multipleEmbeddedIdElementsFound(java.lang.Class entityClass, java.lang.String attributeName1, java.lang.String attributeName2)
Object[] args = { entityClass, attributeName1, attributeName2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MULTIPLE_EMBEDDED_ID_ELEMENTS_FOUND, args));
validationException.setErrorCode(MULTIPLE_EMBEDDED_ID_ELEMENTS_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | multipleLifecycleCallbackMethodsForSameLifecycleEvent(java.lang.Class listenerClass, java.lang.reflect.Method method1, java.lang.reflect.Method method2)
Object[] args = { listenerClass, method1, method2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MULTIPLE_CALLBACK_METHODS_DEFINED, args));
validationException.setErrorCode(MULTIPLE_CALLBACK_METHODS_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Remove one or more of the entries so that only one of the three is specified in the TopLink.properties file.
Object[] args = { bundleName, serverName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES, args));
validationException.setErrorCode(MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nestedUOWNotSupportedForAttributeTracking()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NESTED_UOW_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, args));
validationException.setErrorCode(NESTED_UOW_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nestedUOWNotSupportedForModifyAllQuery()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NESTED_UOW_NOT_SUPPORTED_FOR_MODIFY_ALL_QUERY, args));
validationException.setErrorCode(NESTED_UOW_NOT_SUPPORTED_FOR_MODIFY_ALL_QUERY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noCorrespondingSetterMethodDefined(java.lang.Class entityClass, java.lang.reflect.Method method)
Object[] args = { entityClass, method };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_CORRESPONDING_SETTER_METHOD_DEFINED, args));
validationException.setErrorCode(NO_CORRESPONDING_SETTER_METHOD_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noMappedByAttributeFound(java.lang.Class ownerClass, java.lang.String mappedByAttributeName, java.lang.Class entityClass, java.lang.String attributeName)
Object[] args = { ownerClass, mappedByAttributeName, entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_MAPPED_BY_ATTRIBUTE_FOUND, args));
validationException.setErrorCode(NO_MAPPED_BY_ATTRIBUTE_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noPrimaryKeyAnnotationsFound(java.lang.Class entityClass)
Object[] args = { entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_PK_ANNOTATIONS_FOUND, args));
validationException.setErrorCode(NO_PK_ANNOTATIONS_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Edit the TopLink.properties file to include the desired project.
Object[] args = { bundleName, serverName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_PROJECT_SPECIFIED_IN_PROPERTIES, args));
validationException.setErrorCode(NO_PROJECT_SPECIFIED_IN_PROPERTIES);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noPropertiesFileFound(java.lang.Exception exception)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_PROPERTIES_FILE_FOUND, args), exception);
validationException.setErrorCode(NO_PROPERTIES_FILE_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noSessionFound(java.lang.String sessionName, java.lang.String resourceName)
Object[] args = { sessionName, resourceName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_SESSION_FOUND, args));
validationException.setErrorCode(NO_SESSION_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noSessionRegisteredForClass(java.lang.Class domainClass)
Object[] args = { domainClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_SESSION_REGISTERED_FOR_CLASS, args));
validationException.setErrorCode(NO_SESSION_REGISTERED_FOR_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noSessionRegisteredForName(java.lang.String sessionName)
Object[] args = { sessionName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_SESSION_REGISTERED_FOR_NAME, args));
validationException.setErrorCode(NO_SESSION_REGISTERED_FOR_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noSessionsXMLFound(java.lang.String resourceName)
Object[] args = { resourceName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_SESSIONS_XML_FOUND, args));
validationException.setErrorCode(NO_SESSIONS_XML_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noTablesToCreate(oracle.toplink.essentials.sessions.Project project)
Object[] args = { project };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_TABLES_TO_CREATE, args));
validationException.setErrorCode(NO_TABLES_TO_CREATE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noTemporalTypeSpecified(java.lang.String attributeName, java.lang.Class entityClass)
Object[] args = { attributeName, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_TEMPORAL_TYPE_SPECIFIED, args));
validationException.setErrorCode(NO_TEMPORAL_TYPE_SPECIFIED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | noTopLinkEjbJarXMLFound()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NO_TOPLINK_EJB_JAR_XML_FOUND, args));
validationException.setErrorCode(NO_TOPLINK_EJB_JAR_XML_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nonEntityTargetInRelationship(java.lang.Class javaClass, java.lang.Class targetEntity, java.lang.reflect.AnnotatedElement annotatedElement)
Object[] args = {javaClass, targetEntity, annotatedElement};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NON_ENTITY_AS_TARGET_IN_REL, args));
validationException.setErrorCode(NON_ENTITY_AS_TARGET_IN_REL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nonUniqueEntityName(java.lang.String clsName1, java.lang.String clsName2, java.lang.String name)
Object[] args = { name, clsName1, clsName2, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NON_UNIQUE_ENTITY_NAME, args));
validationException.setErrorCode(NON_UNIQUE_ENTITY_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nonUniqueMappingFileName(java.lang.String puName, java.lang.String mf)
Object[] args = {puName, mf};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NON_UNIQUE_MAPPING_FILE_NAME, args));
validationException.setErrorCode(NON_UNIQUE_MAPPING_FILE_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | notSupported(java.lang.String operation, java.lang.Class theClass)
Object[] args = { operation, theClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NOT_SUPPORTED, args));
validationException.setErrorCode(NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | notSupportedForDatasource()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NOT_SUPPORTED_FOR_DATASOURCE, args));
validationException.setErrorCode(NOT_SUPPORTED_FOR_DATASOURCE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nullCacheKeyFoundOnRemoval(oracle.toplink.essentials.internal.identitymaps.IdentityMap map, java.lang.Class clazz)
Object[] args = { map, clazz, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NULL_CACHE_KEY_FOUND_ON_REMOVAL, args));
validationException.setErrorCode(NULL_CACHE_KEY_FOUND_ON_REMOVAL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | nullUnderlyingValueHolderValue(java.lang.String methodName)
Object[] args = { methodName, CR };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, NULL_UNDERLYING_VALUEHOLDER_VALUE, args));
validationException.setErrorCode(NULL_UNDERLYING_VALUEHOLDER_VALUE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | objectNeedImplTrackerForFetchGroupUsage(java.lang.String className)
Object[] args = { className };
QueryException queryException = new QueryException(ExceptionMessageGenerator.buildMessage(QueryException.class, OBJECT_NEED_IMPL_TRACKER_FOR_FETCH_GROUP_USAGE, args));
queryException.setErrorCode(OBJECT_NEED_IMPL_TRACKER_FOR_FETCH_GROUP_USAGE);
return queryException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oldCommitNotSupportedForAttributeTracking()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, OLD_COMMIT_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, args));
validationException.setErrorCode(OLD_COMMIT_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | onlyFieldsAreValidKeysForDatabaseRows()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS, args));
validationException.setErrorCode(ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | onlyOneGeneratedValueIsAllowed(java.lang.Class cls, java.lang.String field1, java.lang.String field2)
Object[] args = { cls, field1, field2 };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ONLY_ONE_GENERATED_VALURE_IS_ALLOWED, args));
validationException.setErrorCode(ONLY_ONE_GENERATED_VALURE_IS_ALLOWED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | operationNotSupported(java.lang.String methodName)
Object[] args = { methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, OPERATION_NOT_SUPPORTED, args));
validationException.setErrorCode(OPERATION_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | optimisticLockingNotSupportedWithStoredProcedureGeneration()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, OPTIMISTIC_LOCKING_NOT_SUPPORTED, args));
validationException.setErrorCode(OPTIMISTIC_LOCKING_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleJDBC10_1_0_2ProxyConnectorRequiresIntProxytype()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_INT_PROXYTYPE, args));
validationException.setErrorCode(ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_INT_PROXYTYPE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnection()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION, args));
validationException.setErrorCode(ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnectionVersion()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION_VERSION, args));
validationException.setErrorCode(ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION_VERSION);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleOCIProxyConnectorRequiresOracleOCIConnectionPool()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLEOCIPROXYCONNECTOR_REQUIRES_ORACLEOCICONNECTIONPOOL, args));
validationException.setErrorCode(ORACLEOCIPROXYCONNECTOR_REQUIRES_ORACLEOCICONNECTIONPOOL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleObjectTypeIsNotDefined(java.lang.String typeName)
Object[] args = { typeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLE_OBJECT_TYPE_NOT_DEFINED, args));
validationException.setErrorCode(ORACLE_OBJECT_TYPE_NOT_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleObjectTypeNameIsNotDefined(java.lang.Class type)
Object[] args = { type };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED, args));
validationException.setErrorCode(ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | oracleVarrayMaximumSizeNotDefined(java.lang.String typeName)
Object[] args = { typeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED, args));
validationException.setErrorCode(ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | persistenceUnitMetadataConflict(java.lang.String tagName)
Object[] args = { tagName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PERSISTENCE_UNIT_METADATA_CONFLICT, args));
validationException.setErrorCode(PERSISTENCE_UNIT_METADATA_CONFLICT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | platformClassNotFound(java.lang.Exception exception, java.lang.String className)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PLATFORM_CLASS_NOT_FOUND, args), exception);
validationException.setErrorCode(PLATFORM_CLASS_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | platformDoesNotOverrideGetCreateTempTableSqlPrefix(java.lang.String className)
Object[] args = { className };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PLATFORM_DOES_NOT_OVERRIDE_GETCREATETEMPTABLESQLPREFIX, args));
validationException.setErrorCode(PLATFORM_DOES_NOT_OVERRIDE_GETCREATETEMPTABLESQLPREFIX);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | platformDoesNotSupportCallWithReturning(java.lang.String platformTypeName)
Object[] args = { platformTypeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PLATFORM_DOES_NOT_SUPPORT_CALL_WITH_RETURNING, args));
validationException.setErrorCode(PLATFORM_DOES_NOT_SUPPORT_CALL_WITH_RETURNING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | platformDoesNotSupportSequence(java.lang.String seqName, java.lang.String platformTypeName, java.lang.String sequenceTypeName)
Object[] args = { seqName, platformTypeName, sequenceTypeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PLATFORM_DOES_NOT_SUPPORT_SEQUENCE, args));
validationException.setErrorCode(PLATFORM_DOES_NOT_SUPPORT_SEQUENCE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | platformDoesNotSupportStoredFunctions(java.lang.String platformTypeName)
Object[] args = { platformTypeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PLATFORM_DOES_NOT_SUPPORT_STORED_FUNCTIONS, args));
validationException.setErrorCode(PLATFORM_DOES_NOT_SUPPORT_STORED_FUNCTIONS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | poolNameDoesNotExist(java.lang.String poolName)
Object[] args = { poolName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, POOL_NAME_DOES_NOT_EXIST, args));
validationException.setErrorCode(POOL_NAME_DOES_NOT_EXIST);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | poolsMustBeConfiguredBeforeLogin()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN, args));
validationException.setErrorCode(POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | primaryKeyUpdateDisallowed(java.lang.String className, java.lang.String attributeName)
Object[] args = {className, attributeName};
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PRIMARY_KEY_UPDATE_DISALLOWED, args));
validationException.setErrorCode(PRIMARY_KEY_UPDATE_DISALLOWED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | primaryTableNotDefined(java.lang.Class javaClass, java.lang.String instanceDocName)PUBLIC:
Possible cause: Instance document is incomplete - primary tables must be
defined for both sides of a relationhip.
Action: Make sure that each entity of a relationship has a primary table defined.
Object[] args = { javaClass, instanceDocName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PRIMARY_TABLE_NOT_DEFINED_FOR_RELATIONSHIP, args));
validationException.setErrorCode(PRIMARY_TABLE_NOT_DEFINED_FOR_RELATIONSHIP);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the required amendment method exists on the class specified.
Object[] args = { amendmentMethod, amendmentClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PROJECT_AMENDMENT_EXCEPTION_OCCURED, args));
validationException.setInternalException(exception);
validationException.setErrorCode(PROJECT_AMENDMENT_EXCEPTION_OCCURED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | projectLoginIsNull(oracle.toplink.essentials.internal.sessions.AbstractSession session)
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PROJECT_LOGIN_IS_NULL, args));
validationException.setErrorCode(PROJECT_LOGIN_IS_NULL);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | projectXMLNotFound(java.lang.String projectXMLFile, java.lang.Exception exception)
Object[] args = { projectXMLFile };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, PROJECT_XML_NOT_FOUND, args));
validationException.setInternalException(exception);
validationException.setErrorCode(PROJECT_XML_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | queryArgumentTypeNotFound(oracle.toplink.essentials.queryframework.DatabaseQuery query, java.lang.String argumentName, java.lang.String typeAsString, java.lang.Exception exception)
Object[] args = { query.getName(), argumentName, typeAsString };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, QUERY_ARGUMENT_TYPE_NOT_FOUND, args));
validationException.setInternalException(exception);
validationException.setErrorCode(QUERY_ARGUMENT_TYPE_NOT_FOUND);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | querySequenceDoesNotHaveSelectQuery(java.lang.String seqName)
Object[] args = { seqName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, QUERY_SEQUENCE_DOES_NOT_HAVE_SELECT_QUERY, args));
validationException.setErrorCode(QUERY_SEQUENCE_DOES_NOT_HAVE_SELECT_QUERY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | sequenceCannotBeConnectedToTwoPlatforms(java.lang.String seqName, java.lang.String ownerPlatformName, java.lang.String otherPlatformName)
Object[] args = { seqName, ownerPlatformName, otherPlatformName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SEQUENCE_CANNOT_BE_CONNECTED_TO_TWO_PLATFORMS, args));
validationException.setErrorCode(SEQUENCE_CANNOT_BE_CONNECTED_TO_TWO_PLATFORMS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | sequenceGeneratorUsingAReservedName(java.lang.String reservedName, java.lang.String location)
Object[] args = { reservedName, location };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SEQUENCE_GENERATOR_RESERVED_NAME, args));
validationException.setErrorCode(SEQUENCE_GENERATOR_RESERVED_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | sequenceNameAlreadyUsedByDefaultSequence(java.lang.String seqName)
Object[] args = { seqName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SEQUENCE_NAME_ALREADY_USED_BY_DEFAULT_SEQUENCE, args));
validationException.setErrorCode(SEQUENCE_NAME_ALREADY_USED_BY_DEFAULT_SEQUENCE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | sequenceSetupIncorrectly(java.lang.String sequenceName)
Object[] args = { sequenceName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SEQUENCE_SETUP_INCORRECTLY, args));
validationException.setErrorCode(SEQUENCE_SETUP_INCORRECTLY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | serverPlatformIsReadOnlyAfterLogin(java.lang.String serverPlatformClassName)PUBLIC:
Possible cause: An attempt was made to modify the ServerPlatform after login.
Action: All changes to the ServerPlatform must be made before login.
Object[] args = { serverPlatformClassName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SERVER_PLATFORM_IS_READ_ONLY_AFTER_LOGIN, args));
validationException.setErrorCode(SERVER_PLATFORM_IS_READ_ONLY_AFTER_LOGIN);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the required amendment method exists on the class specified.
StringBuffer buf = new StringBuffer(30);
for (int i = 0; i < (parameters.length - 1); i++) {
buf.append(parameters[i].getName());
if (i != (parameters.length - 1)) {
buf.append(", ");
}
}
buf.append(parameters[parameters.length - 1].getName());
Object[] args = { amendmentClass, amendmentMethod, buf.toString() };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SESSION_AMENDMENT_EXCEPTION_OCCURED, args));
validationException.setInternalException(exception);
validationException.setErrorCode(SESSION_AMENDMENT_EXCEPTION_OCCURED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | startIndexOutOfRange()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, START_INDEX_OUT_OF_RANGE, args));
validationException.setErrorCode(START_INDEX_OUT_OF_RANGE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | stopIndexOutOfRange()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, STOP_INDEX_OUT_OF_RANGE, args));
validationException.setErrorCode(STOP_INDEX_OUT_OF_RANGE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.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.
Action: Check that the session class given in the exception is on the application server dependent classpath.
Object[] args = { brokerName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, SUB_SESSION_NOT_DEFINED_FOR_BROKER, args));
validationException.setErrorCode(SUB_SESSION_NOT_DEFINED_FOR_BROKER);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | tableGeneratorUsingAReservedName(java.lang.String reservedName, java.lang.String location)
Object[] args = { reservedName, location };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, TABLE_GENERATOR_RESERVED_NAME, args));
validationException.setErrorCode(TABLE_GENERATOR_RESERVED_NAME);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | tablePerClassInheritanceNotSupported(java.lang.Class entityClass)
Object[] args = { entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, TABLE_PER_CLASS_INHERITANCE_NOT_SUPPORTED, args));
validationException.setErrorCode(TABLE_PER_CLASS_INHERITANCE_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unableToDetermineClassForField(java.lang.String fieldName, java.lang.Class entityClass)PUBLIC:
Possible cause: An field name has been encountered that does not exist on
the associated entity.
Action: Ensure that a field with a matching name exists on the associated
entity.
Object[] args = { fieldName, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNABLE_TO_DETERMINE_CLASS_FOR_FIELD, args));
validationException.setErrorCode(UNABLE_TO_DETERMINE_CLASS_FOR_FIELD);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unableToDetermineClassForProperty(java.lang.String propertyName, java.lang.Class entityClass)PUBLIC:
Possible cause: An property name has been encountered that does not exist
on the associated entity.
Action: Ensure that a property with a matching name exists on the
associated entity.
Object[] args = { propertyName, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNABLE_TO_DETERMINE_CLASS_FOR_PROPERTY, args));
validationException.setErrorCode(UNABLE_TO_DETERMINE_CLASS_FOR_PROPERTY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unableToDetermineTargetEntity(java.lang.String attributeName, java.lang.Class entityClass)PUBLIC:
Possible cause: the type of the attribute is Map, Set, List or Collection, and no target-entity is defined.
Action: ensure that the target-entity is defined in the instance doc. for the relationship mapping.
Object[] args = { attributeName, entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNABLE_TO_DETERMINE_TARGET_ENTITY, args));
validationException.setErrorCode(UNABLE_TO_DETERMINE_TARGET_ENTITY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unableToLoadClass(java.lang.String classname, java.lang.Exception exception)
Object[] args = { classname };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNABLE_TO_LOAD_CLASS, args), exception);
validationException.setErrorCode(UNABLE_TO_LOAD_CLASS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unfetchedAttributeNotEditable(java.lang.String attributeName)
Object[] args = { attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNFETCHED_ATTRIBUTE_NOT_EDITABLE, args));
validationException.setErrorCode(UNFETCHED_ATTRIBUTE_NOT_EDITABLE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | uniDirectionalOneToManyHasJoinColumnAnnotations(java.lang.String attributeName, java.lang.Class entityClass)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ANNOTATIONS, args));
validationException.setErrorCode(UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ANNOTATIONS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | uniDirectionalOneToManyHasJoinColumnElements(java.lang.String attributeName, java.lang.Class entityClass)
Object[] args = { entityClass, attributeName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ELEMENTS, args));
validationException.setErrorCode(UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ELEMENTS);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unitOfWorkAfterWriteChangesFailed(java.lang.String operation)
Object[] args = { operation };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNIT_OF_WORK_AFTER_WRITE_CHANGES_FAILED, args));
validationException.setErrorCode(UNIT_OF_WORK_AFTER_WRITE_CHANGES_FAILED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unitOfWorkInTransactionCommitPending(java.lang.String operation)
Object[] args = { operation };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING, args));
validationException.setErrorCode(UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unitOfWorkInTransactionCommitPending()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING, args));
validationException.setErrorCode(UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unspecifiedCompositePKNotSupported(java.lang.Class entityClass)
Object[] args = { entityClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNSPECIFIED_COMPOSITE_PK_NOT_SUPPORTED, args));
validationException.setErrorCode(UNSPECIFIED_COMPOSITE_PK_NOT_SUPPORTED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unsupportedCascadeLockingDescriptor(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)
Object[] args = { descriptor };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNSUPPORTED_CASCADE_LOCKING_DESCRIPTOR, args));
validationException.setErrorCode(UNSUPPORTED_CASCADE_LOCKING_DESCRIPTOR);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unsupportedCascadeLockingMapping(oracle.toplink.essentials.mappings.DatabaseMapping mapping)
Object[] args = { mapping };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNSUPPORTED_CASCADE_LOCKING_MAPPING, args));
validationException.setErrorCode(UNSUPPORTED_CASCADE_LOCKING_MAPPING);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | unsupportedCascadeLockingMappingWithCustomQuery(oracle.toplink.essentials.mappings.DatabaseMapping mapping)
Object[] args = { mapping };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, UNSUPPORTED_CASCADE_LOCKING_MAPPING_WITH_CUSTOM_QUERY, args));
validationException.setErrorCode(UNSUPPORTED_CASCADE_LOCKING_MAPPING_WITH_CUSTOM_QUERY);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | writeChangesOnNestedUnitOfWork()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, CANNOT_WRITE_CHANGES_ON_NESTED_UNIT_OF_WORK, args));
validationException.setErrorCode(CANNOT_WRITE_CHANGES_ON_NESTED_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | writeObjectNotAllowedInUnitOfWork()
Object[] args = { };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK, args));
validationException.setErrorCode(WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongChangeEvent(java.lang.Class eveClass)
Object[] args = { eveClass };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_CHANGE_EVENT, args));
validationException.setErrorCode(WRONG_CHANGE_EVENT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongCollectionChangeEventType(int eveType)
Object[] args = { new Integer(eveType) };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_COLLECTION_CHANGE_EVENT_TYPE, args));
validationException.setErrorCode(WRONG_COLLECTION_CHANGE_EVENT_TYPE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongObjectRegistered(java.lang.Object registered, java.lang.Object parent)
Object[] args = { registered, parent };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_OBJECT_REGISTERED, args));
validationException.setErrorCode(WRONG_OBJECT_REGISTERED);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongPropertyNameInChangeEvent(java.lang.Class objectClass, java.lang.String propertyName)
Object[] args = { objectClass, propertyName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_PROPERTY_NAME_IN_CHANGE_EVENT, args));
validationException.setErrorCode(WRONG_PROPERTY_NAME_IN_CHANGE_EVENT);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongSequenceType(java.lang.String typeName, java.lang.String methodName)
Object[] args = { typeName, methodName };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_SEQUENCE_TYPE, args));
validationException.setErrorCode(WRONG_SEQUENCE_TYPE);
return validationException;
|
public static oracle.toplink.essentials.exceptions.ValidationException | wrongUsageOfSetCustomArgumentTypeMethod(java.lang.String callString)
Object[] args = { callString };
ValidationException validationException = new ValidationException(ExceptionMessageGenerator.buildMessage(ValidationException.class, WRONG_USAGE_OF_SET_CUSTOM_SQL_ARGUMENT_TYPE_METOD, args));
validationException.setErrorCode(WRONG_USAGE_OF_SET_CUSTOM_SQL_ARGUMENT_TYPE_METOD);
return validationException;
|