FileDocCategorySizeDatePackage
ValidationException.javaAPI DocGlassfish v2 API131406Tue May 22 16:54:18 BST 2007oracle.toplink.essentials.exceptions

ValidationException

public class ValidationException extends TopLinkException

Purpose: This exception is used if incorrect state or method arguments are detected in a general TopLink object.

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
Constructors Summary
public ValidationException()
INTERNAL: TopLink exceptions should only be thrown by TopLink.


                  
      
        super();
    
protected ValidationException(String theMessage)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        super(theMessage);
    
protected ValidationException(String message, Exception internalException)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        super(message, internalException);
    
Methods Summary
public static oracle.toplink.essentials.exceptions.ValidationExceptionalreadyLoggedIn(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.ValidationExceptionbothFieldsAndPropertiesAnnotated(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.ValidationExceptioncannotAcquireClientSessionFromSession()

        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.ValidationExceptioncannotAcquireDataSource(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.ValidationExceptioncannotAcquireHistoricalSession()

        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.ValidationExceptioncannotAddDescriptorsToSessionBroker()

        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.ValidationExceptioncannotCastToClass(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.ValidationExceptioncannotCommitAndResumeSynchronizedUOW(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.ValidationExceptioncannotCommitAndResumeUOWWithModifyAllQueries()

        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.ValidationExceptioncannotCommitUOWAgain()

        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.ValidationExceptioncannotCreateExternalTransactionController(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.ValidationExceptioncannotHaveUnboundInOutputArguments()

        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.ValidationExceptioncannotInvokeMethodOnConfigClass(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.ValidationExceptioncannotIssueModifyAllQueryWithOtherWritesWithinUOW()

        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.ValidationExceptioncannotModifyReadOnlyClassesSetAfterUsingUnitOfWork()

        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.ValidationExceptioncannotPersistExistingObject(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.ValidationExceptioncannotRegisterAggregateObjectInUnitOfWork(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.ValidationExceptioncannotReleaseNonClientSession()

        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.ValidationExceptioncannotRemoveFromReadOnlyClassesInNestedUnitOfWork()

        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.ValidationExceptioncannotSetCursorForParameterTypeOtherThanOut(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.ValidationExceptioncannotSetDefaultSequenceAsDefault(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.ValidationExceptioncannotSetListenerClasses(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.ValidationExceptioncannotSetReadPoolSizeAfterLogin()

        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.ValidationExceptioncannotTranslateUnpreparedCall(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.ValidationExceptioncannotWriteChangesTwice()

        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.ValidationExceptionchildDescriptorsDoNotHaveIdentityMap()

        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.ValidationExceptioncircularMappedByReferences(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.ValidationExceptionclassFileTransformerThrowsException(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.ValidationExceptionclassListMustNotBeNull()

        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.ValidationExceptionclassNotFoundWhileConvertingClassNames(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.ValidationExceptionclassNotListedInPersistenceUnit(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.ValidationExceptionclientSessionCanNotUseExclusiveConnection()

        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.ValidationExceptionconfigFactoryNamePropertyNotFound(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.ValidationExceptionconfigFactoryNamePropertyNotSpecified(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.ValidationExceptionconfigMethodNotDefined(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.ValidationExceptionconflictingAccessTypeForEmbeddable(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.ValidationExceptionconflictingSequenceAndTableGeneratorsSpecified(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.ValidationExceptionconflictingSequenceGeneratorsSpecified(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.ValidationExceptionconflictingSequenceNameAndTablePkColumnValueSpecified(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.ValidationExceptionconflictingTableGeneratorsSpecified(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.ValidationExceptioncontainerPolicyDoesNotUseKeys(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.ValidationExceptioncouldNotBindJndi(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.ValidationExceptioncouldNotFindDriverClass(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.ValidationExceptioncouldNotFindMapKey(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.ValidationExceptioncreatePlatformDefaultSequenceUndefined(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.ValidationExceptioncurrentLoaderNotValid(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.ValidationExceptiondefaultSequenceNameAlreadyUsedBySequence(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.ValidationExceptiondescriptorMustBeNotInitialized(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.ValidationExceptionejbCannotLoadRemoteClass(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.ValidationExceptionejbContainerExceptionRaised(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.ValidationExceptionejbDescriptorNotFoundInSession(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.ValidationExceptionejbFinderException(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.ValidationExceptionejbInvalidHomeInterfaceClass(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.ValidationExceptionejbInvalidPlatformClass(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.ValidationExceptionejbInvalidProjectClass(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.ValidationExceptionejbInvalidSessionTypeClass(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.ValidationExceptionejbMustBeInTransaction(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.ValidationExceptionejbNoSuchSessionSpecifiedInProperties(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.ValidationExceptionejbPrimaryKeyReflectionException(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.ValidationExceptionejbSessionTypeClassNotFound(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.ValidationExceptionejbTopLinkPropertiesNotFound(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.ValidationExceptionembeddedIdAndIdAnnotationFound(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.ValidationExceptionembeddedIdAndIdElementFound(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.ValidationExceptionembeddedIdHasNoAttributes(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.ValidationExceptionentityClassNotFound(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.ValidationExceptionerrorClosingPersistenceXML(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.ValidationExceptionerrorDecryptingPassword(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.ValidationExceptionerrorEncryptingPassword(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.ValidationExceptionerrorInSessionsXML(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.ValidationExceptionerrorInstantiatingClass(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.ValidationExceptionerrorProcessingNamedQueryAnnotation(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.ValidationExceptionerrorProcessingNamedQueryElement(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.ValidationExceptionexceptionConfiguringEMFactory(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.ValidationExceptionexcessiveJoinColumnElementsSpecified(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.ValidationExceptionexcessiveJoinColumnsSpecified(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.ValidationExceptionexcessivePrimaryKeyJoinColumnElementsSpecified(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.ValidationExceptionexcessivePrimaryKeyJoinColumnsSpecified(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.ValidationExceptionexcusiveConnectionIsNoLongerAvailable(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.ValidationExceptionexistingQueryTypeConflict(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.ValidationExceptionfatalErrorOccurred(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.ValidationExceptionfeatureIsNotAvailableInRunningJDKVersion(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.ValidationExceptionfieldLevelLockingNotSupportedWithoutUnitOfWork()

        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.ValidationExceptionfileError(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.ValidationExceptionhistoricalSessionOnlySupportedOnOracle()

        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.ValidationExceptionillegalContainerClass(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.ValidationExceptionillegalOperationForUnitOfWorkLifecycle(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.ValidationExceptionillegalUseOfMapInDirectCollection(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.ValidationExceptioninActiveUnitOfWork(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.ValidationExceptionincompleteJoinColumnElementsSpecified(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.ValidationExceptionincompleteJoinColumnsSpecified(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.ValidationExceptionincompletePrimaryKeyJoinColumnElementsSpecified(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.ValidationExceptionincompletePrimaryKeyJoinColumnsSpecified(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.ValidationExceptionincorrectLoginInstanceProvided()

        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.ValidationExceptionincorrectOverridingOfAccessType(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.ValidationExceptioninstantiatingValueholderWithNullSession()

        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.ValidationExceptioninvalidAttributeOverrideName(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.ValidationExceptioninvalidCallbackMethod(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.ValidationExceptioninvalidCallbackMethodModifier(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.ValidationExceptioninvalidCallbackMethodName(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.ValidationExceptioninvalidClassTypeForBLOBAttribute(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.ValidationExceptioninvalidClassTypeForCLOBAttribute(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.ValidationExceptioninvalidCollectionTypeForRelationship(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.ValidationExceptioninvalidColumnAnnotationOnRelationship(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.ValidationExceptioninvalidColumnElementOnRelationship(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.ValidationExceptioninvalidCompositePKAttribute(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.ValidationExceptioninvalidCompositePKSpecification(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.ValidationExceptioninvalidConnector(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.ValidationExceptioninvalidDataSourceName(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.ValidationExceptioninvalidEmbeddableAttribute(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.ValidationExceptioninvalidEmbeddedAttribute(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.ValidationExceptioninvalidEncryptionClass(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.ValidationExceptioninvalidEntityCallbackMethodArguments(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.ValidationExceptioninvalidEntityListenerCallbackMethodArguments(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.ValidationExceptioninvalidEntityMappingsDocument(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.ValidationExceptioninvalidFileName(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.ValidationExceptioninvalidMapping(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.ValidationExceptioninvalidMergePolicy()

        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.ValidationExceptioninvalidMethodArguments()

        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.ValidationExceptioninvalidNullMethodArguments()

        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.ValidationExceptioninvalidOrderByValue(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.ValidationExceptioninvalidSequencingLogin()

        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.ValidationExceptioninvalidTypeForEnumeratedAttribute(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.ValidationExceptioninvalidTypeForLOBAttribute(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.ValidationExceptioninvalidTypeForSerializedAttribute(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.ValidationExceptioninvalidTypeForTemporalAttribute(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.ValidationExceptioninvalidTypeForVersionAttribute(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.ValidationExceptionisolatedDataNotSupportedInSessionBroker(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.ValidationExceptionjarFilesInPersistenceXmlNotSupported()

        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.ValidationExceptionjavaTypeIsNotAValidDatabaseType(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.ValidationExceptionjtsExceptionRaised(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.ValidationExceptionlogIOError(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.ValidationExceptionloginBeforeAllocatingClientSessions()

        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.ValidationExceptionmapKeyNotDeclaredInItemClass(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.ValidationExceptionmappingAnnotationsAppliedToTransientAttribute(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.ValidationExceptionmappingDoesNotOverrideValueFromRowInternalWithJoin(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.ValidationExceptionmappingFileNotFound(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.ValidationExceptionmaxSizeLessThanMinSize()

        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.ValidationExceptionmethodFailed(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.ValidationExceptionmissingDescriptor(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.ValidationExceptionmissingMappingForAttribute(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.ValidationExceptionmultipleCursorsNotSupported(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.ValidationExceptionmultipleEmbeddedIdAnnotationsFound(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.ValidationExceptionmultipleEmbeddedIdElementsFound(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.ValidationExceptionmultipleLifecycleCallbackMethodsForSameLifecycleEvent(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.ValidationExceptionmultipleProjectsSpecifiedInProperties(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.ValidationExceptionnestedUOWNotSupportedForAttributeTracking()

        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.ValidationExceptionnestedUOWNotSupportedForModifyAllQuery()

        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.ValidationExceptionnoCorrespondingSetterMethodDefined(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.ValidationExceptionnoMappedByAttributeFound(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.ValidationExceptionnoPrimaryKeyAnnotationsFound(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.ValidationExceptionnoProjectSpecifiedInProperties(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.ValidationExceptionnoPropertiesFileFound(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.ValidationExceptionnoSessionFound(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.ValidationExceptionnoSessionRegisteredForClass(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.ValidationExceptionnoSessionRegisteredForName(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.ValidationExceptionnoSessionsXMLFound(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.ValidationExceptionnoTablesToCreate(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.ValidationExceptionnoTemporalTypeSpecified(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.ValidationExceptionnoTopLinkEjbJarXMLFound()

        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.ValidationExceptionnonEntityTargetInRelationship(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.ValidationExceptionnonUniqueEntityName(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.ValidationExceptionnonUniqueMappingFileName(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.ValidationExceptionnotSupported(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.ValidationExceptionnotSupportedForDatasource()

        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.ValidationExceptionnullCacheKeyFoundOnRemoval(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.ValidationExceptionnullUnderlyingValueHolderValue(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.ValidationExceptionobjectNeedImplTrackerForFetchGroupUsage(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.ValidationExceptionoldCommitNotSupportedForAttributeTracking()

        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.ValidationExceptiononlyFieldsAreValidKeysForDatabaseRows()

        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.ValidationExceptiononlyOneGeneratedValueIsAllowed(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.ValidationExceptionoperationNotSupported(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.ValidationExceptionoptimisticLockingNotSupportedWithStoredProcedureGeneration()

        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.ValidationExceptionoracleJDBC10_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.ValidationExceptionoracleJDBC10_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.ValidationExceptionoracleJDBC10_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.ValidationExceptionoracleOCIProxyConnectorRequiresOracleOCIConnectionPool()

        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.ValidationExceptionoracleObjectTypeIsNotDefined(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.ValidationExceptionoracleObjectTypeNameIsNotDefined(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.ValidationExceptionoracleVarrayMaximumSizeNotDefined(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.ValidationExceptionpersistenceUnitMetadataConflict(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.ValidationExceptionplatformClassNotFound(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.ValidationExceptionplatformDoesNotOverrideGetCreateTempTableSqlPrefix(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.ValidationExceptionplatformDoesNotSupportCallWithReturning(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.ValidationExceptionplatformDoesNotSupportSequence(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.ValidationExceptionplatformDoesNotSupportStoredFunctions(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.ValidationExceptionpoolNameDoesNotExist(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.ValidationExceptionpoolsMustBeConfiguredBeforeLogin()

        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.ValidationExceptionprimaryKeyUpdateDisallowed(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.ValidationExceptionprimaryTableNotDefined(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.ValidationExceptionprojectAmendmentExceptionOccured(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.ValidationExceptionprojectLoginIsNull(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.ValidationExceptionprojectXMLNotFound(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.ValidationExceptionqueryArgumentTypeNotFound(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.ValidationExceptionquerySequenceDoesNotHaveSelectQuery(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.ValidationExceptionsequenceCannotBeConnectedToTwoPlatforms(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.ValidationExceptionsequenceGeneratorUsingAReservedName(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.ValidationExceptionsequenceNameAlreadyUsedByDefaultSequence(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.ValidationExceptionsequenceSetupIncorrectly(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.ValidationExceptionserverPlatformIsReadOnlyAfterLogin(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.ValidationExceptionsessionAmendmentExceptionOccured(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.ValidationExceptionstartIndexOutOfRange()

        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.ValidationExceptionstopIndexOutOfRange()

        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.ValidationExceptionsubSessionsNotDefinedForBroker(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.ValidationExceptiontableGeneratorUsingAReservedName(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.ValidationExceptiontablePerClassInheritanceNotSupported(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.ValidationExceptionunableToDetermineClassForField(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.ValidationExceptionunableToDetermineClassForProperty(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.ValidationExceptionunableToDetermineTargetEntity(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.ValidationExceptionunableToLoadClass(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.ValidationExceptionunfetchedAttributeNotEditable(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.ValidationExceptionuniDirectionalOneToManyHasJoinColumnAnnotations(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.ValidationExceptionuniDirectionalOneToManyHasJoinColumnElements(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.ValidationExceptionunitOfWorkAfterWriteChangesFailed(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.ValidationExceptionunitOfWorkInTransactionCommitPending(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.ValidationExceptionunitOfWorkInTransactionCommitPending()

        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.ValidationExceptionunspecifiedCompositePKNotSupported(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.ValidationExceptionunsupportedCascadeLockingDescriptor(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.ValidationExceptionunsupportedCascadeLockingMapping(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.ValidationExceptionunsupportedCascadeLockingMappingWithCustomQuery(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.ValidationExceptionwriteChangesOnNestedUnitOfWork()

        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.ValidationExceptionwriteObjectNotAllowedInUnitOfWork()

        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.ValidationExceptionwrongChangeEvent(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.ValidationExceptionwrongCollectionChangeEventType(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.ValidationExceptionwrongObjectRegistered(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.ValidationExceptionwrongPropertyNameInChangeEvent(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.ValidationExceptionwrongSequenceType(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.ValidationExceptionwrongUsageOfSetCustomArgumentTypeMethod(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;