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

DescriptorException

public class DescriptorException extends ValidationException
Purpose: This exception is used for any problem that is detected with a descriptor or mapping.

Fields Summary
protected transient ClassDescriptor
descriptor
protected transient DatabaseMapping
mapping
public static final int
ATTRIBUTE_AND_MAPPING_WITH_INDIRECTION_MISMATCH
public static final int
ATTRIBUTE_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH
public static final int
ATTRIBUTE_NAME_NOT_SPECIFIED
public static final int
ATTRIBUTE_TYPE_NOT_VALID
public static final int
CLASS_INDICATOR_FIELD_NOT_FOUND
public static final int
DIRECT_FIELD_NAME_NOT_SET
public static final int
FIELD_NAME_NOT_SET_IN_MAPPING
public static final int
FOREIGN_KEYS_DEFINED_INCORRECTLY
public static final int
IDENTITY_MAP_NOT_SPECIFIED
public static final int
ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
ILLEGAL_ACCESS_WHILE_CLONING
public static final int
ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION
public static final int
ILLEGAL_ACCESS_WHILE_EVENT_EXECUTION
public static final int
ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
ILLEGAL_ACCESS_WHILE_INSTANTIATING_METHOD_BASED_PROXY
public static final int
ILLEGAL_ACCESS_WHILE_INVOKING_ATTRIBUTE_METHOD
public static final int
ILLEGAL_ACCESS_WHILE_INVOKING_FIELD_TO_METHOD
public static final int
ILLEGAL_ACCESS_WHILE_INVOKING_ROW_EXTRACTION_METHOD
public static final int
ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION
public static final int
ILLEGAL_ACCESS_WHILE_OBSOLETE_EVENT_EXECUTION
public static final int
ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
ILLEGAL_ARGUMENT_WHILE_INSTANTIATING_METHOD_BASED_PROXY
public static final int
ILLEGAL_ARGUMENT_WHILE_INVOKING_ATTRIBUTE_METHOD
public static final int
ILLEGAL_ARGUMENT_WHILE_INVOKING_FIELD_TO_METHOD
public static final int
ILLEGAL_ARGUMENT_WHILE_OBSOLETE_EVENT_EXECUTION
public static final int
ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION
public static final int
INVALID_DATA_MODIFICATION_EVENT
public static final int
INVALID_DATA_MODIFICATION_EVENT_CODE
public static final int
INVALID_DESCRIPTOR_EVENT_CODE
public static final int
INVALID_IDENTITY_MAP
public static final int
JAVA_CLASS_NOT_SPECIFIED
public static final int
DESCRIPTOR_FOR_INTERFACE_IS_MISSING
public static final int
MAPPING_FOR_SEQUENCE_NUMBER_FIELD
public static final int
MISSING_CLASS_FOR_INDICATOR_FIELD_VALUE
public static final int
MISSING_CLASS_INDICATOR_FIELD
public static final int
MISSING_MAPPING_FOR_FIELD
public static final int
NO_MAPPING_FOR_PRIMARY_KEY
public static final int
MULTIPLE_TABLE_PRIMARY_KEY_NOT_SPECIFIED
public static final int
MULTIPLE_WRITE_MAPPINGS_FOR_FIELD
public static final int
NO_ATTRIBUTE_TRANSFORMATION_METHOD
public static final int
NO_FIELD_NAME_FOR_MAPPING
public static final int
NO_FOREIGN_KEYS_ARE_SPECIFIED
public static final int
NO_REFERENCE_KEY_IS_SPECIFIED
public static final int
NO_RELATION_TABLE
public static final int
NO_SOURCE_RELATION_KEYS_SPECIFIED
public static final int
NO_SUCH_METHOD_ON_FIND_OBSOLETE_METHOD
public static final int
NO_SUCH_METHOD_ON_INITIALIZING_ATTRIBUTE_METHOD
public static final int
NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION
public static final int
NO_SUCH_METHOD_WHILE_CONVERTING_TO_METHOD
public static final int
NO_SUCH_FIELD_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR
public static final int
NO_SUCH_METHOD_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR
public static final int
NO_SUCH_METHOD_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD
public static final int
NO_SUCH_METHOD_WHILE_INITIALIZING_COPY_POLICY
public static final int
NO_SUCH_METHOD_WHILE_INITIALIZING_INSTANTIATION_POLICY
public static final int
NO_TARGET_FOREIGN_KEYS_SPECIFIED
public static final int
NO_TARGET_RELATION_KEYS_SPECIFIED
public static final int
NOT_DESERIALIZABLE
public static final int
NOT_SERIALIZABLE
public static final int
NULL_FOR_NON_NULL_AGGREGATE
public static final int
NULL_POINTER_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
NULL_POINTER_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
NULL_POINTER_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR
public static final int
NULL_POINTER_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
PARENT_DESCRIPTOR_NOT_SPECIFIED
public static final int
PRIMARY_KEY_FIELDS_NOT_SPECIFIED
public static final int
REFERENCE_CLASS_NOT_SPECIFIED
public static final int
REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATE
public static final int
REFERENCE_KEY_FIELD_NOT_PROPERLY_SPECIFIED
public static final int
REFERENCE_TABLE_NOT_SPECIFIED
public static final int
RELATION_KEY_FIELD_NOT_PROPERLY_SPECIFIED
public static final int
RETURN_TYPE_IN_GET_ATTRIBUTE_ACCESSOR
public static final int
SECURITY_ON_FIND_METHOD
public static final int
SECURITY_ON_FIND_OBSOLETE_METHOD
public static final int
SECURITY_ON_INITIALIZING_ATTRIBUTE_METHOD
public static final int
SECURITY_WHILE_CONVERTING_TO_METHOD
public static final int
SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR
public static final int
SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR
public static final int
SECURITY_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD
public static final int
SECURITY_WHILE_INITIALIZING_COPY_POLICY
public static final int
SECURITY_WHILE_INITIALIZING_INSTANTIATION_POLICY
public static final int
SEQUENCE_NUMBER_PROPERTY_NOT_SPECIFIED
public static final int
SIZE_MISMATCH_OF_FOREIGN_KEYS
public static final int
TABLE_NOT_PRESENT
public static final int
TABLE_NOT_SPECIFIED
public static final int
TARGET_FOREIGN_KEYS_SIZE_MISMATCH
public static final int
TARGET_INVOCATION_WHILE_CLONING
public static final int
TARGET_INVOCATION_WHILE_EVENT_EXECUTION
public static final int
TARGET_INVOCATION_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR
public static final int
TARGET_INVOCATION_WHILE_INSTANTIATING_METHOD_BASED_PROXY
public static final int
TARGET_INVOCATION_WHILE_INVOKING_ATTRIBUTE_METHOD
public static final int
TARGET_INVOCATION_WHILE_INVOKING_FIELD_TO_METHOD
public static final int
TARGET_INVOCATION_WHILE_INVOKING_ROW_EXTRACTION_METHOD
public static final int
TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION
public static final int
TARGET_INVOCATION_WHILE_OBSOLETE_EVENT_EXECUTION
public static final int
TARGET_INVOCATION_WHILE_SETTING_VALUE_THRU_METHOD_ACESSOR
public static final int
VALUE_NOT_FOUND_IN_CLASS_INDICATOR_MAPPING
public static final int
WRITE_LOCK_FIELD_IN_CHILD_DESCRIPTOR
public static final int
DESCRIPTOR_IS_MISSING
public static final int
MULTIPLE_TABLE_PRIMARY_KEY_MUST_BE_FULLY_QUALIFIED
public static final int
ONLY_ONE_TABLE_CAN_BE_ADDED_WITH_THIS_METHOD
public static final int
NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION
public static final int
NULL_POINTER_WHILE_METHOD_INSTANTIATION
public static final int
NO_ATTRBUTE_VALUE_CONVERSION_TO_FIELD_VALUE_PROVIDED
public static final int
NO_FIELD_VALUE_CONVERSION_TO_ATTRIBUTE_VALUE_PROVIDED
public static final int
LOCK_MAPPING_CANNOT_BE_READONLY
public static final int
LOCK_MAPPING_MUST_BE_READONLY
public static final int
CHILD_DOES_NOT_DEFINE_ABSTRACT_QUERY_KEY
public static final int
SET_EXISTENCE_CHECKING_NOT_UNDERSTOOD
public static final int
VALUE_HOLDER_INSTANTIATION_MISMATCH
public static final int
NO_SUB_CLASS_MATCH
public static final int
RETURN_AND_MAPPING_WITH_INDIRECTION_MISMATCH
public static final int
RETURN_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH
public static final int
PARAMETER_AND_MAPPING_WITH_INDIRECTION_MISMATCH
public static final int
PARAMETER_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH
public static final int
GET_METHOD_RETURN_TYPE_NOT_VALID
public static final int
SET_METHOD_PARAMETER_TYPE_NOT_VALID
public static final int
ILLEGAL_TABLE_NAME_IN_MULTIPLE_TABLE_FOREIGN_KEY
public static final int
ATTRIBUTE_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH
public static final int
RETURN_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH
public static final int
PARAMETER_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH
public static final int
FIELD_IS_NOT_PRESENT_IN_DATABASE
public static final int
TABLE_IS_NOT_PRESENT_IN_DATABASE
public static final int
MULTIPLE_TABLE_INSERT_ORDER_MISMATCH
public static final int
INVALID_USE_OF_TRANSPARENT_INDIRECTION
public static final int
MISSING_INDIRECT_CONTAINER_CONSTRUCTOR
public static final int
COULD_NOT_INSTANTIATE_INDIRECT_CONTAINER_CLASS
public static final int
INVALID_CONTAINER_POLICY
public static final int
INVALID_CONTAINER_POLICY_WITH_TRANSPARENT_INDIRECTION
public static final int
INVALID_USE_OF_NO_INDIRECTION
public static final int
INDIRECT_CONTAINER_INSTANTIATION_MISMATCH
public static final int
INVALID_MAPPING_OPERATION
public static final int
INVALID_INDIRECTION_POLICY_OPERATION
public static final int
REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATECOLLECTION
public static final int
INVALID_INDIRECTION_CONTAINER_CLASS
public static final int
MISSING_FOREIGN_KEY_TRANSLATION
public static final int
STRUCTURE_NAME_NOT_SET_IN_MAPPING
public static final int
NORMAL_DESCRIPTORS_DO_NOT_SUPPORT_NON_RELATIONAL_EXTENSIONS
public static final int
PARENT_CLASS_IS_SELF
public static final int
PROXY_INDIRECTION_NOT_AVAILABLE
public static final int
INVALID_ATTRIBUTE_TYPE_FOR_PROXY_INDIRECTION
public static final int
INVALID_GET_RETURN_TYPE_FOR_PROXY_INDIRECTION
public static final int
INVALID_SET_PARAMETER_TYPE_FOR_PROXY_INDIRECTION
public static final int
INCORRECT_COLLECTION_POLICY
public static final int
INVALID_AMENDMENT_METHOD
public static final int
ERROR_OCCURED_IN_AMENDMENT_METHOD
public static final int
VARIABLE_ONE_TO_ONE_MAPPING_IS_NOT_DEFINED
public static final int
NO_CONSTRUCTOR_INDIRECT_COLLECTION_CLASS
public static final int
TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION
public static final int
TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY
public static final int
ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY
public static final int
INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY
public static final int
NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY
public static final int
NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY
public static final int
ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION_OF_FACTORY
public static final int
TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION_OF_FACTORY
public static final int
NULL_POINTER_WHILE_METHOD_INSTANTIATION_OF_FACTORY
public static final int
NO_MAPPING_FOR_ATTRIBUTENAME
public static final int
NO_MAPPING_FOR_ATTRIBUTENAME_IN_ENTITY_BEAN
public static final int
UNSUPPORTED_TYPE_FOR_BIDIRECTIONAL_RELATIONSHIP_MAINTENANCE
public static final int
REFERENCE_DESCRIPTOR_CANNOT_BE_AGGREGATE
public static final int
ATTRIBUTE_TRANSFORMER_CLASS_NOT_FOUND
public static final int
FIELD_TRANSFORMER_CLASS_NOT_FOUND
public static final int
ATTRIBUTE_TRANSFORMER_CLASS_INVALID
public static final int
FIELD_TRANSFORMER_CLASS_INVALID
public static final int
RETURNING_POLICY_FIELD_TYPE_CONFLICT
public static final int
RETURNING_POLICY_FIELD_INSERT_CONFLICT
public static final int
RETURNING_POLICY_AND_DESCRIPTOR_FIELD_TYPE_CONFLICT
public static final int
RETURNING_POLICY_UNMAPPED_FIELD_TYPE_NOT_SET
public static final int
RETURNING_POLICY_MAPPED_FIELD_TYPE_NOT_SET
public static final int
RETURNING_POLICY_MAPPING_NOT_SUPPORTED
public static final int
RETURNING_POLICY_FIELD_NOT_SUPPORTED
public static final int
CUSTOM_QUERY_AND_RETURNING_POLICY_CONFLICT
public static final int
NO_CUSTOM_QUERY_FOR_RETURNING_POLICY
public static final int
CLASS_EXTRACTION_METHOD_MUST_BE_STATIC
public static final int
ISOLATED_DESCRIPTOR_REFERENCED_BY_SHARED_DESCRIPTOR
public static final int
UPDATE_ALL_FIELDS_NOT_SET
public static final int
INVALID_MAPPING_TYPE
public static final int
NEED_TO_IMPLEMENT_CHANGETRACKER
public static final int
NEED_TO_IMPLEMENT_FETCHGROUPTRACKER
public static final int
ATTEMPT_TO_REGISTER_DEAD_INDIRECTION
public static final int
INTERNAL_ERROR_ACCESSING_PKFIELD
public static final int
INTERNAL_ERROR_SET_METHOD
Constructors Summary
protected DescriptorException(String theMessage)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


                  
       
        super(theMessage);
    
protected DescriptorException(String theMessage, DatabaseMapping mapping)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        this(theMessage);
        if (mapping != null) {
            this.mapping = mapping;
            this.descriptor = mapping.getDescriptor();
        }
    
protected DescriptorException(String theMessage, ClassDescriptor descriptor)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        this(theMessage);
        this.descriptor = descriptor;
    
protected DescriptorException(String theMessage, ClassDescriptor descriptor, Throwable exception)

        this(theMessage, descriptor);
        setInternalException(exception);
    
Methods Summary
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattemptToRegisterDeadIndirection(java.lang.Object object, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { object };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTEMPT_TO_REGISTER_DEAD_INDIRECTION, args), mapping);
        exception.setErrorCode(ATTEMPT_TO_REGISTER_DEAD_INDIRECTION);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeAndMappingWithIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTRIBUTE_AND_MAPPING_WITH_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(ATTRIBUTE_AND_MAPPING_WITH_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeAndMappingWithTransparentIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.String validTypeName)

        Object[] args = { mapping.getAttributeName(), validTypeName };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTRIBUTE_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(ATTRIBUTE_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeAndMappingWithoutIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTRIBUTE_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(ATTRIBUTE_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeMappingIsMissingForEntityBean(java.lang.String attributeName, java.lang.String beanName)

        Object[] args = { attributeName, beanName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_MAPPING_FOR_ATTRIBUTENAME_IN_ENTITY_BEAN, args));
        descriptorException.setErrorCode(NO_MAPPING_FOR_ATTRIBUTENAME_IN_ENTITY_BEAN);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeNameNotSpecified()

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTRIBUTE_NAME_NOT_SPECIFIED, args));
        descriptorException.setErrorCode(ATTRIBUTE_NAME_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionattributeTypeNotValid(oracle.toplink.essentials.mappings.CollectionMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ATTRIBUTE_TYPE_NOT_VALID, args), mapping);
        exception.setErrorCode(ATTRIBUTE_TYPE_NOT_VALID);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionchildDoesNotDefineAbstractQueryKeyOfParent(oracle.toplink.essentials.descriptors.ClassDescriptor child, oracle.toplink.essentials.descriptors.ClassDescriptor parent, java.lang.String queryKeyName)

        Object[] args = { queryKeyName, parent, child };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, CHILD_DOES_NOT_DEFINE_ABSTRACT_QUERY_KEY, args));
        descriptorException.setErrorCode(CHILD_DOES_NOT_DEFINE_ABSTRACT_QUERY_KEY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionclassExtractionMethodMustBeStatic(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, CLASS_EXTRACTION_METHOD_MUST_BE_STATIC, args), descriptor);
        descriptorException.setErrorCode(CLASS_EXTRACTION_METHOD_MUST_BE_STATIC);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionclassIndicatorFieldNotFound(oracle.toplink.essentials.descriptors.ClassDescriptor parentDescriptor, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { descriptor, parentDescriptor, CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, CLASS_INDICATOR_FIELD_NOT_FOUND, args), descriptor);
        descriptorException.setErrorCode(CLASS_INDICATOR_FIELD_NOT_FOUND);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioncouldNotInstantiateIndirectContainerClass(java.lang.Class containerClass, java.lang.Exception exception)

        Object[] args = { containerClass, Helper.getShortClassName(containerClass) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, COULD_NOT_INSTANTIATE_INDIRECT_CONTAINER_CLASS, args));
        descriptorException.setErrorCode(COULD_NOT_INSTANTIATE_INDIRECT_CONTAINER_CLASS);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioncustomQueryAndReturningPolicyFieldConflict(java.lang.String queryTypeName, java.lang.String fieldName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { queryTypeName, fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, CUSTOM_QUERY_AND_RETURNING_POLICY_CONFLICT, args), descriptor);
        descriptorException.setErrorCode(CUSTOM_QUERY_AND_RETURNING_POLICY_CONFLICT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiondescriptorForInterfaceIsMissing(java.lang.String interfaceName)

        Object[] args = { interfaceName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, DESCRIPTOR_FOR_INTERFACE_IS_MISSING, args));
        descriptorException.setErrorCode(DESCRIPTOR_FOR_INTERFACE_IS_MISSING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiondescriptorIsMissing(java.lang.String className, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { className };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, DESCRIPTOR_IS_MISSING, args), mapping);
        descriptorException.setErrorCode(DESCRIPTOR_IS_MISSING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiondirectFieldNameNotSet(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, DIRECT_FIELD_NAME_NOT_SET, args), mapping);
        descriptorException.setErrorCode(DIRECT_FIELD_NAME_NOT_SET);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionerrorAccessingSetMethodOfEntity(java.lang.Class aClass, java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception underlying)

        Object[] args = { aClass, methodName };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INTERNAL_ERROR_SET_METHOD, args), descriptor, underlying);
        JavaPlatform.setExceptionCause(exception, underlying);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionerrorOccuredInAmendmentMethod(java.lang.Class amendmentClass, java.lang.String method, java.lang.Exception exception, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ERROR_OCCURED_IN_AMENDMENT_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(ERROR_OCCURED_IN_AMENDMENT_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionerrorUsingPrimaryKey(java.lang.Object primaryKey, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception underlying)

        Object[] args = { String.valueOf(INTERNAL_ERROR_ACCESSING_PKFIELD), primaryKey };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INTERNAL_ERROR_ACCESSING_PKFIELD, args), descriptor, underlying);
        JavaPlatform.setExceptionCause(exception, underlying);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionfieldIsNotPresentInDatabase(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.String tableName, java.lang.String fieldName)

        Object[] args = { fieldName, tableName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, FIELD_IS_NOT_PRESENT_IN_DATABASE, args), descriptor);
        descriptorException.setErrorCode(FIELD_IS_NOT_PRESENT_IN_DATABASE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionfieldNameNotSetInMapping(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, FIELD_NAME_NOT_SET_IN_MAPPING, args), mapping);
        descriptorException.setErrorCode(FIELD_NAME_NOT_SET_IN_MAPPING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionforeignKeysDefinedIncorrectly(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, FOREIGN_KEYS_DEFINED_INCORRECTLY, args), mapping);
        descriptorException.setErrorCode(FOREIGN_KEYS_DEFINED_INCORRECTLY);
        return descriptorException;
    
public oracle.toplink.essentials.descriptors.ClassDescriptorgetDescriptor()
PUBLIC: Return the descriptor that the problem was detected in.

        return descriptor;
    
public oracle.toplink.essentials.mappings.DatabaseMappinggetMapping()
PUBLIC: Return the mapping that the problem was detected in.

        return mapping;
    
public java.lang.StringgetMessage()
PUBLIC: Return the exception error message. TopLink error messages are multi-line so that detail descriptions of the exception are given.

        if (getDescriptor() == null) {
            return super.getMessage();
        }

        if (getMapping() != null) {
            return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("MappingHeader") + getMapping().toString() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString();
        } else {
            return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString();
        }
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiongetMethodReturnTypeNotValid(oracle.toplink.essentials.mappings.CollectionMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, GET_METHOD_RETURN_TYPE_NOT_VALID, args), mapping);
        exception.setErrorCode(GET_METHOD_RETURN_TYPE_NOT_VALID);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionidentityMapNotSpecified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, IDENTITY_MAP_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(IDENTITY_MAP_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileCloning(java.lang.Object domainObject, java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = { domainObject, methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_CLONING, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_CLONING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileConstructorInstantiation(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileConstructorInstantiationOfFactory(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileEventExecution(java.lang.String eventMethodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { eventMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_EVENT_EXECUTION, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_EVENT_EXECUTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileGettingValueThruMethodAccessor(java.lang.String methodName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { methodName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileInstantiatingMethodBasedProxy(java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_INSTANTIATING_METHOD_BASED_PROXY, args));
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_INSTANTIATING_METHOD_BASED_PROXY);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileInvokingAttributeMethod(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_INVOKING_ATTRIBUTE_METHOD, args));
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_INVOKING_ATTRIBUTE_METHOD);
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileInvokingFieldToMethod(java.lang.String methodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_INVOKING_FIELD_TO_METHOD, args));
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_INVOKING_FIELD_TO_METHOD);
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileInvokingRowExtractionMethod(oracle.toplink.essentials.internal.sessions.AbstractRecord row, java.lang.reflect.Method method, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = { row, method };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_INVOKING_ROW_EXTRACTION_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_INVOKING_ROW_EXTRACTION_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileMethodInstantiation(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileMethodInstantiationOfFactory(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_METHOD_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileObsoleteEventExecute(java.lang.String eventMethodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { eventMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_OBSOLETE_EVENT_EXECUTION, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_OBSOLETE_EVENT_EXECUTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileSettingValueThruInstanceVariableAccessor(java.lang.String attributeName, java.lang.String objectName, java.lang.Object objectValue, java.lang.Throwable exception)

        Object[] args = { attributeName, objectName, String.valueOf(objectValue), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccessWhileSettingValueThruMethodAccessor(java.lang.String setMethodName, java.lang.Object value, java.lang.Throwable exception)

        Object[] args = { setMethodName, String.valueOf(value) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalAccesstWhileGettingValueThruInstanceVaraibleAccessor(java.lang.String attributeName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { attributeName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ACCESS_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileGettingValueThruInstanceVariableAccessor(java.lang.String attributeName, java.lang.String typeName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { attributeName, typeName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileGettingValueThruMethodAccessor(java.lang.String methodName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { methodName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileInstantiatingMethodBasedProxy(java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_INSTANTIATING_METHOD_BASED_PROXY, args));
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_INSTANTIATING_METHOD_BASED_PROXY);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileInvokingAttributeMethod(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_INVOKING_ATTRIBUTE_METHOD, args));
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_INVOKING_ATTRIBUTE_METHOD);
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileInvokingFieldToMethod(java.lang.String methodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_INVOKING_FIELD_TO_METHOD, args));
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_INVOKING_FIELD_TO_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileObsoleteEventExecute(java.lang.String eventMethodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { eventMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_OBSOLETE_EVENT_EXECUTION, args), descriptor, exception);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_OBSOLETE_EVENT_EXECUTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileSettingValueThruInstanceVariableAccessor(java.lang.String attributeName, java.lang.String typeName, java.lang.Object value, java.lang.Throwable exception)

        Object[] args = { String.valueOf(value), attributeName, typeName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalArgumentWhileSettingValueThruMethodAccessor(java.lang.String setMethodName, java.lang.Object value, java.lang.Throwable exception)

        Object[] args = { setMethodName, String.valueOf(value) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(ILLEGAL_ARGUMENT_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionillegalTableNameInMultipleTableForeignKeyField(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, oracle.toplink.essentials.internal.helper.DatabaseTable table)

        Object[] args = { table };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ILLEGAL_TABLE_NAME_IN_MULTIPLE_TABLE_FOREIGN_KEY, args), descriptor);
        descriptorException.setErrorCode(ILLEGAL_TABLE_NAME_IN_MULTIPLE_TABLE_FOREIGN_KEY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionincorrectCollectionPolicy(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Class attributeClass, java.lang.Class containerClass)

        Object[] args = { attributeClass, containerClass };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INCORRECT_COLLECTION_POLICY, args), mapping);
        descriptorException.setErrorCode(INCORRECT_COLLECTION_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionindirectContainerInstantiationMismatch(java.lang.Object attributeValue, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName(), attributeValue, CR };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INDIRECT_CONTAINER_INSTANTIATION_MISMATCH, args), mapping);
        exception.setErrorCode(INDIRECT_CONTAINER_INSTANTIATION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninstantiationWhileConstructorInstantiation(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninstantiationWhileConstructorInstantiationOfFactory(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(INSTANTIATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidAmendmentMethod(java.lang.Class amendmentClass, java.lang.String method, java.lang.Exception exception, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { amendmentClass, method, CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_AMENDMENT_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(INVALID_AMENDMENT_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidAttributeTypeForProxyIndirection(java.lang.Class attributeType, java.lang.Class[] targetInterfaces, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < targetInterfaces.length; i++) {
            buffer.append(((Class)targetInterfaces[i]).getName());
            if (i != (targetInterfaces.length - 1)) {
                buffer.append(", ");
            }
        }

        Object[] args = { mapping.getAttributeName(), mapping.getDescriptor().getJavaClass().getName(), attributeType.getName(), buffer.toString(), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_ATTRIBUTE_TYPE_FOR_PROXY_INDIRECTION, args), mapping);
        descriptorException.setErrorCode(INVALID_ATTRIBUTE_TYPE_FOR_PROXY_INDIRECTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidContainerPolicy(oracle.toplink.essentials.internal.queryframework.ContainerPolicy containerPolicy, java.lang.Class javaClass)

        Object[] args = { containerPolicy, javaClass };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_CONTAINER_POLICY, args));
        exception.setErrorCode(INVALID_CONTAINER_POLICY);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidContainerPolicyWithTransparentIndirection(oracle.toplink.essentials.mappings.DatabaseMapping mapping, oracle.toplink.essentials.internal.queryframework.ContainerPolicy containerPolicy)

        Object[] args = { containerPolicy };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_CONTAINER_POLICY_WITH_TRANSPARENT_INDIRECTION, args), mapping);
        exception.setErrorCode(INVALID_CONTAINER_POLICY_WITH_TRANSPARENT_INDIRECTION);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidDataModificationEvent(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_DATA_MODIFICATION_EVENT, args), mapping);
        descriptorException.setErrorCode(INVALID_DATA_MODIFICATION_EVENT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidDataModificationEventCode(java.lang.Object event, oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = { event };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_DATA_MODIFICATION_EVENT_CODE, args), mapping);
        descriptorException.setErrorCode(INVALID_DATA_MODIFICATION_EVENT_CODE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidDescriptorEventCode(oracle.toplink.essentials.descriptors.DescriptorEvent event, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { new Integer(event.getEventCode()) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_DESCRIPTOR_EVENT_CODE, args), descriptor);
        descriptorException.setErrorCode(INVALID_DESCRIPTOR_EVENT_CODE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidGetMethodReturnTypeForProxyIndirection(java.lang.Class attributeType, java.lang.Class[] targetInterfaces, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < targetInterfaces.length; i++) {
            buffer.append(((Class)targetInterfaces[i]).getName());
            if (i != (targetInterfaces.length - 1)) {
                buffer.append(", ");
            }
        }

        Object[] args = { mapping.getGetMethodName(), mapping.getDescriptor().getJavaClass().getName(), attributeType.getName(), buffer.toString(), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_GET_RETURN_TYPE_FOR_PROXY_INDIRECTION, args), mapping);
        descriptorException.setErrorCode(INVALID_GET_RETURN_TYPE_FOR_PROXY_INDIRECTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidIdentityMap(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_IDENTITY_MAP, args), descriptor, exception);
        descriptorException.setErrorCode(INVALID_IDENTITY_MAP);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidIndirectionPolicyOperation(oracle.toplink.essentials.internal.indirection.IndirectionPolicy policy, java.lang.String operation)

        Object[] args = { policy, operation };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_INDIRECTION_POLICY_OPERATION, args), policy.getMapping());
        descriptorException.setErrorCode(INVALID_INDIRECTION_POLICY_OPERATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidMappingOperation(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.String operation)

        Object[] args = { operation };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_MAPPING_OPERATION, args), mapping);
        descriptorException.setErrorCode(INVALID_MAPPING_OPERATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidMappingType(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_MAPPING_TYPE, args), mapping);
        descriptorException.setErrorCode(INVALID_MAPPING_TYPE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidSetMethodParameterTypeForProxyIndirection(java.lang.Class attributeType, java.lang.Class[] targetInterfaces, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < targetInterfaces.length; i++) {
            buffer.append(((Class)targetInterfaces[i]).getName());
            if (i != (targetInterfaces.length - 1)) {
                buffer.append(", ");
            }
        }

        Object[] args = { mapping.getSetMethodName(), mapping.getDescriptor().getJavaClass().getName(), attributeType.getName(), buffer.toString(), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_SET_PARAMETER_TYPE_FOR_PROXY_INDIRECTION, args), mapping);
        descriptorException.setErrorCode(INVALID_SET_PARAMETER_TYPE_FOR_PROXY_INDIRECTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidUseOfNoIndirection(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_USE_OF_NO_INDIRECTION, args), mapping);
        exception.setErrorCode(INVALID_USE_OF_NO_INDIRECTION);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptioninvalidUseOfTransparentIndirection(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        String message = oracle.toplink.essentials.exceptions.i18n.ExceptionMessageGenerator.buildMessage(DescriptorException.class, INVALID_USE_OF_TRANSPARENT_INDIRECTION, args);
        DescriptorException exception = new DescriptorException(message, mapping);
        exception.setErrorCode(INVALID_USE_OF_TRANSPARENT_INDIRECTION);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionisolateDescriptorReferencedBySharedDescriptor(java.lang.String referenceClass, java.lang.String sourceClass, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { referenceClass, sourceClass };

        String message = oracle.toplink.essentials.exceptions.i18n.ExceptionMessageGenerator.buildMessage(DescriptorException.class, ISOLATED_DESCRIPTOR_REFERENCED_BY_SHARED_DESCRIPTOR, args);
        DescriptorException exception = new DescriptorException(message, mapping);
        exception.setErrorCode(ISOLATED_DESCRIPTOR_REFERENCED_BY_SHARED_DESCRIPTOR);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionjavaClassNotSpecified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, JAVA_CLASS_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(JAVA_CLASS_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmappingCanNotBeReadOnly(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getDescriptor().getClass() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, LOCK_MAPPING_CANNOT_BE_READONLY, args), mapping);
        descriptorException.setErrorCode(LOCK_MAPPING_CANNOT_BE_READONLY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmappingForAttributeIsMissing(java.lang.String attributeName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { attributeName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_MAPPING_FOR_ATTRIBUTENAME, args), descriptor);
        descriptorException.setErrorCode(NO_MAPPING_FOR_ATTRIBUTENAME);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmappingForSequenceNumberField(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MAPPING_FOR_SEQUENCE_NUMBER_FIELD, args));
        descriptorException.setErrorCode(MAPPING_FOR_SEQUENCE_NUMBER_FIELD);
        descriptorException.setDescriptor(descriptor);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmissingClassForIndicatorFieldValue(java.lang.Object classFieldValue, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { classFieldValue, classFieldValue.getClass() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MISSING_CLASS_FOR_INDICATOR_FIELD_VALUE, args), descriptor);
        descriptorException.setErrorCode(MISSING_CLASS_FOR_INDICATOR_FIELD_VALUE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmissingClassIndicatorField(oracle.toplink.essentials.internal.sessions.AbstractRecord row, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { row };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MISSING_CLASS_INDICATOR_FIELD, args), descriptor);
        descriptorException.setErrorCode(MISSING_CLASS_INDICATOR_FIELD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmissingForeignKeyTranslation(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping, oracle.toplink.essentials.internal.helper.DatabaseField primaryKeyField)

        Object[] args = { primaryKeyField };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MISSING_FOREIGN_KEY_TRANSLATION, args), mapping);
        exception.setErrorCode(MISSING_FOREIGN_KEY_TRANSLATION);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmissingIndirectContainerConstructor(java.lang.Class containerClass)

        Object[] args = { containerClass.getName(), containerClass.getName() + "()" };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MISSING_INDIRECT_CONTAINER_CONSTRUCTOR, args));
        exception.setErrorCode(MISSING_INDIRECT_CONTAINER_CONSTRUCTOR);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmissingMappingForField(oracle.toplink.essentials.internal.helper.DatabaseField field, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { field };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MISSING_MAPPING_FOR_FIELD, args));
        descriptorException.setErrorCode(MISSING_MAPPING_FOR_FIELD);
        descriptorException.setDescriptor(descriptor);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmultipleTableInsertOrderMismatch(oracle.toplink.essentials.descriptors.ClassDescriptor aDescriptor)

        Object[] args = { aDescriptor.getMultipleTableInsertOrder(), aDescriptor.getTables(), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MULTIPLE_TABLE_INSERT_ORDER_MISMATCH, args));
        descriptorException.setErrorCode(MULTIPLE_TABLE_INSERT_ORDER_MISMATCH);
        descriptorException.setDescriptor(aDescriptor);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmultipleTablePrimaryKeyMustBeFullyQualified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MULTIPLE_TABLE_PRIMARY_KEY_MUST_BE_FULLY_QUALIFIED, args), descriptor);
        descriptorException.setErrorCode(MULTIPLE_TABLE_PRIMARY_KEY_MUST_BE_FULLY_QUALIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmultipleTablePrimaryKeyNotSpecified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MULTIPLE_TABLE_PRIMARY_KEY_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(MULTIPLE_TABLE_PRIMARY_KEY_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmultipleWriteMappingsForField(java.lang.String fieldName, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, MULTIPLE_WRITE_MAPPINGS_FOR_FIELD, args), mapping);
        descriptorException.setErrorCode(MULTIPLE_WRITE_MAPPINGS_FOR_FIELD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionmustBeReadOnlyMappingWhenStoredInCache(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getDescriptor().getJavaClass() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, LOCK_MAPPING_MUST_BE_READONLY, args), mapping);
        descriptorException.setErrorCode(LOCK_MAPPING_MUST_BE_READONLY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionneedToImplementChangeTracker(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { descriptor.getJavaClass() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NEED_TO_IMPLEMENT_CHANGETRACKER, args), descriptor);
        descriptorException.setErrorCode(NEED_TO_IMPLEMENT_CHANGETRACKER);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionneedToImplementFetchGroupTracker(java.lang.Class aClass, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { aClass };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NEED_TO_IMPLEMENT_FETCHGROUPTRACKER, args), descriptor);
        descriptorException.setErrorCode(NEED_TO_IMPLEMENT_FETCHGROUPTRACKER);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoAttributeTransformationMethod(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_ATTRIBUTE_TRANSFORMATION_METHOD, args), mapping);
        descriptorException.setErrorCode(NO_ATTRIBUTE_TRANSFORMATION_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoAttributeValueConversionToFieldValueProvided(java.lang.Object attributeValue, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { attributeValue };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_ATTRBUTE_VALUE_CONVERSION_TO_FIELD_VALUE_PROVIDED, args), mapping);
        descriptorException.setErrorCode(NO_ATTRBUTE_VALUE_CONVERSION_TO_FIELD_VALUE_PROVIDED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoCustomQueryForReturningPolicy(java.lang.String queryTypeName, java.lang.String platformTypeName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { queryTypeName, platformTypeName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_CUSTOM_QUERY_FOR_RETURNING_POLICY, args), descriptor);
        descriptorException.setErrorCode(NO_CUSTOM_QUERY_FOR_RETURNING_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoFieldNameForMapping(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_FIELD_NAME_FOR_MAPPING, args), mapping);
        descriptorException.setErrorCode(NO_FIELD_NAME_FOR_MAPPING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoFieldValueConversionToAttributeValueProvided(java.lang.Object fieldValue, oracle.toplink.essentials.internal.helper.DatabaseField field, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { fieldValue, field };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_FIELD_VALUE_CONVERSION_TO_ATTRIBUTE_VALUE_PROVIDED, args), mapping);
        descriptorException.setErrorCode(NO_FIELD_VALUE_CONVERSION_TO_ATTRIBUTE_VALUE_PROVIDED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoForeignKeysAreSpecified(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_FOREIGN_KEYS_ARE_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(NO_FOREIGN_KEYS_ARE_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoMappingForPrimaryKey(oracle.toplink.essentials.internal.helper.DatabaseField field, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { field };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_MAPPING_FOR_PRIMARY_KEY, args), descriptor);
        descriptorException.setErrorCode(NO_MAPPING_FOR_PRIMARY_KEY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoReferenceKeyIsSpecified(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_REFERENCE_KEY_IS_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(NO_REFERENCE_KEY_IS_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoRelationTable(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_RELATION_TABLE, args), mapping);
        descriptorException.setErrorCode(NO_RELATION_TABLE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSourceRelationKeysSpecified(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SOURCE_RELATION_KEYS_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(NO_SOURCE_RELATION_KEYS_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSubClassMatch(java.lang.Class theClass, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { theClass };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUB_CLASS_MATCH, args), mapping);

        descriptorException.setErrorCode(NO_SUB_CLASS_MATCH);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchFieldWhileInitializingAttributesInInstanceVariableAccessor(java.lang.String attributeName, java.lang.String javaClassName, java.lang.Throwable exception)

        Object[] args = { attributeName, javaClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_FIELD_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(NO_SUCH_FIELD_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodOnFindObsoleteMethod(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_ON_FIND_OBSOLETE_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_ON_FIND_OBSOLETE_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodOnInitializingAttributeMethod(java.lang.String attributeMethodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { attributeMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_ON_INITIALIZING_ATTRIBUTE_METHOD, args));
        descriptorException.setErrorCode(NO_SUCH_METHOD_ON_INITIALIZING_ATTRIBUTE_METHOD);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileConstructorInstantiation(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileConstructorInstantiationOfFactory(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileConvertingToMethod(java.lang.String methodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_CONVERTING_TO_METHOD, args));
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_CONVERTING_TO_METHOD);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileInitializingAttributesInMethodAccessor(java.lang.String setMethodName, java.lang.String getMethodName, java.lang.String javaClassName)

        Object[] args = { setMethodName, getMethodName, javaClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR, args));
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileInitializingClassExtractionMethod(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileInitializingCopyPolicy(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_INITIALIZING_COPY_POLICY, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_INITIALIZING_COPY_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoSuchMethodWhileInitializingInstantiationPolicy(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_SUCH_METHOD_WHILE_INITIALIZING_INSTANTIATION_POLICY, args), descriptor, exception);
        descriptorException.setErrorCode(NO_SUCH_METHOD_WHILE_INITIALIZING_INSTANTIATION_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoTargetForeignKeysSpecified(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_TARGET_FOREIGN_KEYS_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(NO_TARGET_FOREIGN_KEYS_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnoTargetRelationKeysSpecified(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NO_TARGET_RELATION_KEYS_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(NO_TARGET_RELATION_KEYS_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnormalDescriptorsDoNotSupportNonRelationalExtensions(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NORMAL_DESCRIPTORS_DO_NOT_SUPPORT_NON_RELATIONAL_EXTENSIONS, args), descriptor);
        descriptorException.setErrorCode(NORMAL_DESCRIPTORS_DO_NOT_SUPPORT_NON_RELATIONAL_EXTENSIONS);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnotDeserializable(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NOT_DESERIALIZABLE, args));
        descriptorException.setErrorCode(NOT_DESERIALIZABLE);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnotSerializable(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NOT_SERIALIZABLE, args));
        descriptorException.setErrorCode(NOT_SERIALIZABLE);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);

        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullForNonNullAggregate(java.lang.Object object, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { object };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_FOR_NON_NULL_AGGREGATE, args), mapping);
        exception.setErrorCode(NULL_FOR_NON_NULL_AGGREGATE);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileConstructorInstantiation(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileConstructorInstantiationOfFactory(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileGettingValueThruInstanceVariableAccessor(java.lang.String attributeName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { attributeName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_GETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileGettingValueThruMethodAccessor(java.lang.String methodName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { methodName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileMethodInstantiation(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_METHOD_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_METHOD_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileMethodInstantiationOfFactory(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_METHOD_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_METHOD_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileSettingValueThruInstanceVariableAccessor(java.lang.String attributeName, java.lang.Object objectValue, java.lang.Throwable exception)

        Object[] args = { attributeName, String.valueOf(objectValue) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_SETTING_VALUE_THRU_INSTANCE_VARIABLE_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionnullPointerWhileSettingValueThruMethodAccessor(java.lang.String setMethodName, java.lang.Object value, java.lang.Throwable exception)

        Object[] args = { setMethodName, String.valueOf(value) };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, NULL_POINTER_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(NULL_POINTER_WHILE_SETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiononlyOneTableCanBeAddedWithThisMethod(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, ONLY_ONE_TABLE_CAN_BE_ADDED_WITH_THIS_METHOD, args), descriptor);
        descriptorException.setErrorCode(ONLY_ONE_TABLE_CAN_BE_ADDED_WITH_THIS_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionparameterAndMappingWithIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PARAMETER_AND_MAPPING_WITH_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(PARAMETER_AND_MAPPING_WITH_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionparameterAndMappingWithTransparentIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.String validTypeName)

        Object[] args = { mapping.getAttributeName(), validTypeName };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PARAMETER_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(PARAMETER_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionparameterAndMappingWithoutIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PARAMETER_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(PARAMETER_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionparentClassIsSelf(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PARENT_CLASS_IS_SELF, args), descriptor);
        exception.setErrorCode(PARENT_CLASS_IS_SELF);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionparentDescriptorNotSpecified(java.lang.String parentClassName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { parentClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PARENT_DESCRIPTOR_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(PARENT_DESCRIPTOR_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionprimaryKeyFieldsNotSepcified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PRIMARY_KEY_FIELDS_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(PRIMARY_KEY_FIELDS_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionproxyIndirectionNotAvailable(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, PROXY_INDIRECTION_NOT_AVAILABLE, args), mapping);
        descriptorException.setErrorCode(PROXY_INDIRECTION_NOT_AVAILABLE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceClassNotSpecified(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, REFERENCE_CLASS_NOT_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(REFERENCE_CLASS_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceDescriptorCannotBeAggregate(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        DescriptorException descriptorException = new DescriptorException("Reference descriptor cannot be aggregate.", mapping);
        descriptorException.setErrorCode(REFERENCE_DESCRIPTOR_CANNOT_BE_AGGREGATE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceDescriptorIsNotAggregate(java.lang.String className, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { className };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATE, args), mapping);
        descriptorException.setErrorCode(REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceDescriptorIsNotAggregateCollection(java.lang.String className, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { className };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATECOLLECTION, args), mapping);
        descriptorException.setErrorCode(REFERENCE_DESCRIPTOR_IS_NOT_AGGREGATECOLLECTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceKeyFieldNotProperlySpecified(oracle.toplink.essentials.internal.helper.DatabaseField field, oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = { field };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, REFERENCE_KEY_FIELD_NOT_PROPERLY_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(REFERENCE_KEY_FIELD_NOT_PROPERLY_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreferenceTableNotSpecified(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, REFERENCE_TABLE_NOT_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(REFERENCE_TABLE_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionrelationKeyFieldNotProperlySpecified(oracle.toplink.essentials.internal.helper.DatabaseField field, oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = { field };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RELATION_KEY_FIELD_NOT_PROPERLY_SPECIFIED, args), mapping);
        descriptorException.setErrorCode(RELATION_KEY_FIELD_NOT_PROPERLY_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturnAndMappingWithIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURN_AND_MAPPING_WITH_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(RETURN_AND_MAPPING_WITH_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturnAndMappingWithTransparentIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.String validTypeName)

        Object[] args = { mapping.getAttributeName(), validTypeName };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURN_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(RETURN_AND_MAPPING_WITH_TRANSPARENT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturnAndMappingWithoutIndirectionMismatch(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURN_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH, args), mapping);
        exception.setErrorCode(RETURN_AND_MAPPING_WITHOUT_INDIRECTION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturnTypeInGetAttributeAccessor(java.lang.String attributeMethodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { attributeMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURN_TYPE_IN_GET_ATTRIBUTE_ACCESSOR, args));
        descriptorException.setErrorCode(RETURN_TYPE_IN_GET_ATTRIBUTE_ACCESSOR);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyAndDescriptorFieldTypeConflict(java.lang.String fieldName, java.lang.String returningPolicyFieldTypeName, java.lang.String descriptorFieldTypeName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName, returningPolicyFieldTypeName, descriptorFieldTypeName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_AND_DESCRIPTOR_FIELD_TYPE_CONFLICT, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_AND_DESCRIPTOR_FIELD_TYPE_CONFLICT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyFieldInsertConflict(java.lang.String fieldName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_FIELD_INSERT_CONFLICT, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_FIELD_INSERT_CONFLICT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyFieldNotSupported(java.lang.String fieldName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_FIELD_NOT_SUPPORTED, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_FIELD_NOT_SUPPORTED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyFieldTypeConflict(java.lang.String fieldName, java.lang.String type1Name, java.lang.String type2Name, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName, type1Name, type2Name };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_FIELD_TYPE_CONFLICT, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_FIELD_TYPE_CONFLICT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyMappedFieldTypeNotSet(java.lang.String fieldName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_MAPPED_FIELD_TYPE_NOT_SET, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_MAPPED_FIELD_TYPE_NOT_SET);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyMappingNotSupported(java.lang.String fieldName, java.lang.String mappingClassName, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { fieldName, mappingClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_MAPPING_NOT_SUPPORTED, args), mapping);
        descriptorException.setErrorCode(RETURNING_POLICY_MAPPING_NOT_SUPPORTED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionreturningPolicyUnmappedFieldTypeNotSet(java.lang.String fieldName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { fieldName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, RETURNING_POLICY_UNMAPPED_FIELD_TYPE_NOT_SET, args), descriptor);
        descriptorException.setErrorCode(RETURNING_POLICY_UNMAPPED_FIELD_TYPE_NOT_SET);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityOnFindMethod(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_ON_FIND_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(SECURITY_ON_FIND_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityOnFindObsoleteMethod(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_ON_FIND_OBSOLETE_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(SECURITY_ON_FIND_OBSOLETE_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityOnInitializingAttributeMethod(java.lang.String attributeMethodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { attributeMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_ON_INITIALIZING_ATTRIBUTE_METHOD, args));
        descriptorException.setErrorCode(SECURITY_ON_INITIALIZING_ATTRIBUTE_METHOD);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileConvertingToMethod(java.lang.String methodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_CONVERTING_TO_METHOD, args));
        descriptorException.setErrorCode(SECURITY_WHILE_CONVERTING_TO_METHOD);
        descriptorException.setMapping(mapping);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileInitializingAttributesInInstanceVariableAccessor(java.lang.String attributeName, java.lang.String javaClassName, java.lang.Throwable exception)

        Object[] args = { attributeName, javaClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR, args));
        descriptorException.setErrorCode(SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_INSTANCE_VARIABLE_ACCESSOR);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileInitializingAttributesInMethodAccessor(java.lang.String setMethodName, java.lang.String getMethodName, java.lang.String javaClassName)

        Object[] args = { setMethodName, getMethodName, javaClassName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR, args));
        descriptorException.setErrorCode(SECURITY_WHILE_INITIALIZING_ATTRIBUTES_IN_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileInitializingClassExtractionMethod(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(SECURITY_WHILE_INITIALIZING_CLASS_EXTRACTION_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileInitializingCopyPolicy(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_INITIALIZING_COPY_POLICY, args), descriptor, exception);
        descriptorException.setErrorCode(SECURITY_WHILE_INITIALIZING_COPY_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsecurityWhileInitializingInstantiationPolicy(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SECURITY_WHILE_INITIALIZING_INSTANTIATION_POLICY, args), descriptor, exception);
        descriptorException.setErrorCode(SECURITY_WHILE_INITIALIZING_INSTANTIATION_POLICY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsequenceNumberPropertyNotSpecified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SEQUENCE_NUMBER_PROPERTY_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(SEQUENCE_NUMBER_PROPERTY_NOT_SPECIFIED);
        return descriptorException;
    
public voidsetDescriptor(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)
INTERNAL: Set the mapping.

        this.descriptor = descriptor;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsetExistenceCheckingNotUnderstood(java.lang.String token, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { token };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SET_EXISTENCE_CHECKING_NOT_UNDERSTOOD, args), descriptor);
        descriptorException.setErrorCode(SET_EXISTENCE_CHECKING_NOT_UNDERSTOOD);
        return descriptorException;
    
public voidsetMapping(oracle.toplink.essentials.mappings.DatabaseMapping mapping)
INTERNAL: Set the mapping.

        if (mapping != null) {
            this.mapping = mapping;
            setDescriptor(mapping.getDescriptor());
        }
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsetMethodParameterTypeNotValid(oracle.toplink.essentials.mappings.CollectionMapping mapping)

        Object[] args = { mapping.getAttributeName() };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SET_METHOD_PARAMETER_TYPE_NOT_VALID, args), mapping);
        exception.setErrorCode(SET_METHOD_PARAMETER_TYPE_NOT_VALID);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionsizeMismatchOfForeignKeys(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, SIZE_MISMATCH_OF_FOREIGN_KEYS, args), mapping);
        descriptorException.setErrorCode(SIZE_MISMATCH_OF_FOREIGN_KEYS);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionstructureNameNotSetInMapping(oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, STRUCTURE_NAME_NOT_SET_IN_MAPPING, args), mapping);
        descriptorException.setErrorCode(STRUCTURE_NAME_NOT_SET_IN_MAPPING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontableIsNotPresentInDatabase(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { descriptor.getTableName() };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TABLE_IS_NOT_PRESENT_IN_DATABASE, args), descriptor);
        descriptorException.setErrorCode(TABLE_IS_NOT_PRESENT_IN_DATABASE);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontableNotPresent(java.lang.String tableName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { tableName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TABLE_NOT_PRESENT, args), descriptor);
        descriptorException.setErrorCode(TABLE_NOT_PRESENT);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontableNotSpecified(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TABLE_NOT_SPECIFIED, args), descriptor);
        descriptorException.setErrorCode(TABLE_NOT_SPECIFIED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetForeignKeysSizeMismatch(oracle.toplink.essentials.mappings.ForeignReferenceMapping mapping)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_FOREIGN_KEYS_SIZE_MISMATCH, args), mapping);
        descriptorException.setErrorCode(TARGET_FOREIGN_KEYS_SIZE_MISMATCH);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileCloning(java.lang.Object domainObject, java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = { domainObject, methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_CLONING, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_CLONING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileConstructorInstantiation(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileConstructorInstantiationOfFactory(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_CONSTRUCTOR_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileEventExecution(java.lang.String eventMethodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { eventMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_EVENT_EXECUTION, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_EVENT_EXECUTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileGettingValueThruMethodAccessor(java.lang.String methodName, java.lang.String objectName, java.lang.Throwable exception)

        Object[] args = { methodName, objectName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_GETTING_VALUE_THRU_METHOD_ACCESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileInstantiatingMethodBasedProxy(java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_INSTANTIATING_METHOD_BASED_PROXY, args));
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_INSTANTIATING_METHOD_BASED_PROXY);
        descriptorException.setInternalException(exception);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileInvokingAttributeMethod(oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_INVOKING_ATTRIBUTE_METHOD, args));
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_INVOKING_ATTRIBUTE_METHOD);
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileInvokingFieldToMethod(java.lang.String methodName, oracle.toplink.essentials.mappings.DatabaseMapping mapping, java.lang.Throwable exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_INVOKING_FIELD_TO_METHOD, args));
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_INVOKING_FIELD_TO_METHOD);
        descriptorException.setInternalException(exception);
        descriptorException.setMapping(mapping);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileInvokingRowExtractionMethod(oracle.toplink.essentials.internal.sessions.AbstractRecord row, java.lang.reflect.Method method, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Throwable exception)

        Object[] args = { row, method };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_INVOKING_ROW_EXTRACTION_METHOD, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_INVOKING_ROW_EXTRACTION_METHOD);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileMethodInstantiation(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileMethodInstantiationOfFactory(java.lang.String methodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { methodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION_OF_FACTORY, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_METHOD_INSTANTIATION_OF_FACTORY);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileObsoleteEventExecute(java.lang.String eventMethodName, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.Exception exception)

        Object[] args = { eventMethodName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_OBSOLETE_EVENT_EXECUTION, args), descriptor, exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_OBSOLETE_EVENT_EXECUTION);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptiontargetInvocationWhileSettingValueThruMethodAccessor(java.lang.String setMethodName, java.lang.Object value, java.lang.Throwable exception)

        Object[] args = { setMethodName, String.valueOf(value), CR };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, TARGET_INVOCATION_WHILE_SETTING_VALUE_THRU_METHOD_ACESSOR, args));
        descriptorException.setInternalException(exception);
        descriptorException.setErrorCode(TARGET_INVOCATION_WHILE_SETTING_VALUE_THRU_METHOD_ACESSOR);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionunsupportedTypeForBidirectionalRelationshipMaintenance(oracle.toplink.essentials.mappings.DatabaseMapping mapping, oracle.toplink.essentials.internal.queryframework.ContainerPolicy containerPolicy)

        Object[] args = { mapping.getAttributeName(), containerPolicy };
        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, UNSUPPORTED_TYPE_FOR_BIDIRECTIONAL_RELATIONSHIP_MAINTENANCE, args), mapping);
        exception.setErrorCode(UNSUPPORTED_TYPE_FOR_BIDIRECTIONAL_RELATIONSHIP_MAINTENANCE);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionupdateAllFieldsNotSet(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, UPDATE_ALL_FIELDS_NOT_SET, args), descriptor);
        descriptorException.setErrorCode(UPDATE_ALL_FIELDS_NOT_SET);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionvalueHolderInstantiationMismatch(java.lang.Object attributeValue, oracle.toplink.essentials.mappings.DatabaseMapping mapping)

        Object[] args = { mapping.getAttributeName(), attributeValue };

        DescriptorException exception = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, VALUE_HOLDER_INSTANTIATION_MISMATCH, args), mapping);
        exception.setErrorCode(VALUE_HOLDER_INSTANTIATION_MISMATCH);
        return exception;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionvalueNotFoundInClassIndicatorMapping(oracle.toplink.essentials.descriptors.ClassDescriptor parentDescriptor, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = { parentDescriptor };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, VALUE_NOT_FOUND_IN_CLASS_INDICATOR_MAPPING, args), descriptor);
        descriptorException.setErrorCode(VALUE_NOT_FOUND_IN_CLASS_INDICATOR_MAPPING);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionvariableOneToOneMappingIsNotDefinedProperly(oracle.toplink.essentials.mappings.DatabaseMapping mapping, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.String targetKeyName)

        Object[] args = { targetKeyName };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, VARIABLE_ONE_TO_ONE_MAPPING_IS_NOT_DEFINED, args), mapping);
        descriptorException.setErrorCode(VARIABLE_ONE_TO_ONE_MAPPING_IS_NOT_DEFINED);
        return descriptorException;
    
public static oracle.toplink.essentials.exceptions.DescriptorExceptionwriteLockFieldInChildDescriptor(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)

        Object[] args = {  };

        DescriptorException descriptorException = new DescriptorException(ExceptionMessageGenerator.buildMessage(DescriptorException.class, WRITE_LOCK_FIELD_IN_CHILD_DESCRIPTOR, args), descriptor);
        descriptorException.setErrorCode(WRITE_LOCK_FIELD_IN_CHILD_DESCRIPTOR);
        return descriptorException;