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 |
Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.DescriptorException | attemptToRegisterDeadIndirection(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.DescriptorException | attributeAndMappingWithIndirectionMismatch(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.DescriptorException | attributeAndMappingWithTransparentIndirectionMismatch(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.DescriptorException | attributeAndMappingWithoutIndirectionMismatch(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.DescriptorException | attributeMappingIsMissingForEntityBean(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.DescriptorException | attributeNameNotSpecified()
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.DescriptorException | attributeTypeNotValid(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.DescriptorException | childDoesNotDefineAbstractQueryKeyOfParent(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.DescriptorException | classExtractionMethodMustBeStatic(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.DescriptorException | classIndicatorFieldNotFound(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.DescriptorException | couldNotInstantiateIndirectContainerClass(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.DescriptorException | customQueryAndReturningPolicyFieldConflict(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.DescriptorException | descriptorForInterfaceIsMissing(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.DescriptorException | descriptorIsMissing(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.DescriptorException | directFieldNameNotSet(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.DescriptorException | errorAccessingSetMethodOfEntity(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.DescriptorException | errorOccuredInAmendmentMethod(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.DescriptorException | errorUsingPrimaryKey(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.DescriptorException | fieldIsNotPresentInDatabase(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.DescriptorException | fieldNameNotSetInMapping(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.DescriptorException | foreignKeysDefinedIncorrectly(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.ClassDescriptor | getDescriptor()PUBLIC:
Return the descriptor that the problem was detected in.
return descriptor;
|
public oracle.toplink.essentials.mappings.DatabaseMapping | getMapping()PUBLIC:
Return the mapping that the problem was detected in.
return mapping;
|
public java.lang.String | getMessage()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.DescriptorException | getMethodReturnTypeNotValid(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.DescriptorException | identityMapNotSpecified(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.DescriptorException | illegalAccessWhileCloning(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.DescriptorException | illegalAccessWhileConstructorInstantiation(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.DescriptorException | illegalAccessWhileConstructorInstantiationOfFactory(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.DescriptorException | illegalAccessWhileEventExecution(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.DescriptorException | illegalAccessWhileGettingValueThruMethodAccessor(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.DescriptorException | illegalAccessWhileInstantiatingMethodBasedProxy(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.DescriptorException | illegalAccessWhileInvokingAttributeMethod(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.DescriptorException | illegalAccessWhileInvokingFieldToMethod(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.DescriptorException | illegalAccessWhileInvokingRowExtractionMethod(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.DescriptorException | illegalAccessWhileMethodInstantiation(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.DescriptorException | illegalAccessWhileMethodInstantiationOfFactory(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.DescriptorException | illegalAccessWhileObsoleteEventExecute(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.DescriptorException | illegalAccessWhileSettingValueThruInstanceVariableAccessor(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.DescriptorException | illegalAccessWhileSettingValueThruMethodAccessor(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.DescriptorException | illegalAccesstWhileGettingValueThruInstanceVaraibleAccessor(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.DescriptorException | illegalArgumentWhileGettingValueThruInstanceVariableAccessor(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.DescriptorException | illegalArgumentWhileGettingValueThruMethodAccessor(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.DescriptorException | illegalArgumentWhileInstantiatingMethodBasedProxy(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.DescriptorException | illegalArgumentWhileInvokingAttributeMethod(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.DescriptorException | illegalArgumentWhileInvokingFieldToMethod(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.DescriptorException | illegalArgumentWhileObsoleteEventExecute(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.DescriptorException | illegalArgumentWhileSettingValueThruInstanceVariableAccessor(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.DescriptorException | illegalArgumentWhileSettingValueThruMethodAccessor(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.DescriptorException | illegalTableNameInMultipleTableForeignKeyField(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.DescriptorException | incorrectCollectionPolicy(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.DescriptorException | indirectContainerInstantiationMismatch(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.DescriptorException | instantiationWhileConstructorInstantiation(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.DescriptorException | instantiationWhileConstructorInstantiationOfFactory(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.DescriptorException | invalidAmendmentMethod(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.DescriptorException | invalidAttributeTypeForProxyIndirection(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.DescriptorException | invalidContainerPolicy(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.DescriptorException | invalidContainerPolicyWithTransparentIndirection(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.DescriptorException | invalidDataModificationEvent(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.DescriptorException | invalidDataModificationEventCode(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.DescriptorException | invalidDescriptorEventCode(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.DescriptorException | invalidGetMethodReturnTypeForProxyIndirection(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.DescriptorException | invalidIdentityMap(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.DescriptorException | invalidIndirectionPolicyOperation(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.DescriptorException | invalidMappingOperation(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.DescriptorException | invalidMappingType(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.DescriptorException | invalidSetMethodParameterTypeForProxyIndirection(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.DescriptorException | invalidUseOfNoIndirection(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.DescriptorException | invalidUseOfTransparentIndirection(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.DescriptorException | isolateDescriptorReferencedBySharedDescriptor(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.DescriptorException | javaClassNotSpecified(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.DescriptorException | mappingCanNotBeReadOnly(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.DescriptorException | mappingForAttributeIsMissing(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.DescriptorException | mappingForSequenceNumberField(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.DescriptorException | missingClassForIndicatorFieldValue(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.DescriptorException | missingClassIndicatorField(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.DescriptorException | missingForeignKeyTranslation(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.DescriptorException | missingIndirectContainerConstructor(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.DescriptorException | missingMappingForField(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.DescriptorException | multipleTableInsertOrderMismatch(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.DescriptorException | multipleTablePrimaryKeyMustBeFullyQualified(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.DescriptorException | multipleTablePrimaryKeyNotSpecified(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.DescriptorException | multipleWriteMappingsForField(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.DescriptorException | mustBeReadOnlyMappingWhenStoredInCache(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.DescriptorException | needToImplementChangeTracker(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.DescriptorException | needToImplementFetchGroupTracker(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.DescriptorException | noAttributeTransformationMethod(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.DescriptorException | noAttributeValueConversionToFieldValueProvided(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.DescriptorException | noCustomQueryForReturningPolicy(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.DescriptorException | noFieldNameForMapping(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.DescriptorException | noFieldValueConversionToAttributeValueProvided(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.DescriptorException | noForeignKeysAreSpecified(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.DescriptorException | noMappingForPrimaryKey(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.DescriptorException | noReferenceKeyIsSpecified(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.DescriptorException | noRelationTable(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.DescriptorException | noSourceRelationKeysSpecified(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.DescriptorException | noSubClassMatch(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.DescriptorException | noSuchFieldWhileInitializingAttributesInInstanceVariableAccessor(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.DescriptorException | noSuchMethodOnFindObsoleteMethod(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.DescriptorException | noSuchMethodOnInitializingAttributeMethod(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.DescriptorException | noSuchMethodWhileConstructorInstantiation(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.DescriptorException | noSuchMethodWhileConstructorInstantiationOfFactory(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.DescriptorException | noSuchMethodWhileConvertingToMethod(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.DescriptorException | noSuchMethodWhileInitializingAttributesInMethodAccessor(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.DescriptorException | noSuchMethodWhileInitializingClassExtractionMethod(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.DescriptorException | noSuchMethodWhileInitializingCopyPolicy(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.DescriptorException | noSuchMethodWhileInitializingInstantiationPolicy(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.DescriptorException | noTargetForeignKeysSpecified(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.DescriptorException | noTargetRelationKeysSpecified(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.DescriptorException | normalDescriptorsDoNotSupportNonRelationalExtensions(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.DescriptorException | notDeserializable(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.DescriptorException | notSerializable(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.DescriptorException | nullForNonNullAggregate(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.DescriptorException | nullPointerWhileConstructorInstantiation(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.DescriptorException | nullPointerWhileConstructorInstantiationOfFactory(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.DescriptorException | nullPointerWhileGettingValueThruInstanceVariableAccessor(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.DescriptorException | nullPointerWhileGettingValueThruMethodAccessor(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.DescriptorException | nullPointerWhileMethodInstantiation(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.DescriptorException | nullPointerWhileMethodInstantiationOfFactory(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.DescriptorException | nullPointerWhileSettingValueThruInstanceVariableAccessor(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.DescriptorException | nullPointerWhileSettingValueThruMethodAccessor(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.DescriptorException | onlyOneTableCanBeAddedWithThisMethod(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.DescriptorException | parameterAndMappingWithIndirectionMismatch(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.DescriptorException | parameterAndMappingWithTransparentIndirectionMismatch(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.DescriptorException | parameterAndMappingWithoutIndirectionMismatch(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.DescriptorException | parentClassIsSelf(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.DescriptorException | parentDescriptorNotSpecified(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.DescriptorException | primaryKeyFieldsNotSepcified(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.DescriptorException | proxyIndirectionNotAvailable(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.DescriptorException | referenceClassNotSpecified(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.DescriptorException | referenceDescriptorCannotBeAggregate(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.DescriptorException | referenceDescriptorIsNotAggregate(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.DescriptorException | referenceDescriptorIsNotAggregateCollection(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.DescriptorException | referenceKeyFieldNotProperlySpecified(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.DescriptorException | referenceTableNotSpecified(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.DescriptorException | relationKeyFieldNotProperlySpecified(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.DescriptorException | returnAndMappingWithIndirectionMismatch(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.DescriptorException | returnAndMappingWithTransparentIndirectionMismatch(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.DescriptorException | returnAndMappingWithoutIndirectionMismatch(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.DescriptorException | returnTypeInGetAttributeAccessor(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.DescriptorException | returningPolicyAndDescriptorFieldTypeConflict(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.DescriptorException | returningPolicyFieldInsertConflict(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.DescriptorException | returningPolicyFieldNotSupported(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.DescriptorException | returningPolicyFieldTypeConflict(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.DescriptorException | returningPolicyMappedFieldTypeNotSet(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.DescriptorException | returningPolicyMappingNotSupported(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.DescriptorException | returningPolicyUnmappedFieldTypeNotSet(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.DescriptorException | securityOnFindMethod(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.DescriptorException | securityOnFindObsoleteMethod(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.DescriptorException | securityOnInitializingAttributeMethod(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.DescriptorException | securityWhileConvertingToMethod(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.DescriptorException | securityWhileInitializingAttributesInInstanceVariableAccessor(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.DescriptorException | securityWhileInitializingAttributesInMethodAccessor(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.DescriptorException | securityWhileInitializingClassExtractionMethod(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.DescriptorException | securityWhileInitializingCopyPolicy(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.DescriptorException | securityWhileInitializingInstantiationPolicy(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.DescriptorException | sequenceNumberPropertyNotSpecified(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 void | setDescriptor(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
Set the mapping.
this.descriptor = descriptor;
|
public static oracle.toplink.essentials.exceptions.DescriptorException | setExistenceCheckingNotUnderstood(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 void | setMapping(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.DescriptorException | setMethodParameterTypeNotValid(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.DescriptorException | sizeMismatchOfForeignKeys(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.DescriptorException | structureNameNotSetInMapping(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.DescriptorException | tableIsNotPresentInDatabase(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.DescriptorException | tableNotPresent(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.DescriptorException | tableNotSpecified(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.DescriptorException | targetForeignKeysSizeMismatch(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.DescriptorException | targetInvocationWhileCloning(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.DescriptorException | targetInvocationWhileConstructorInstantiation(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.DescriptorException | targetInvocationWhileConstructorInstantiationOfFactory(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.DescriptorException | targetInvocationWhileEventExecution(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.DescriptorException | targetInvocationWhileGettingValueThruMethodAccessor(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.DescriptorException | targetInvocationWhileInstantiatingMethodBasedProxy(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.DescriptorException | targetInvocationWhileInvokingAttributeMethod(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.DescriptorException | targetInvocationWhileInvokingFieldToMethod(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.DescriptorException | targetInvocationWhileInvokingRowExtractionMethod(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.DescriptorException | targetInvocationWhileMethodInstantiation(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.DescriptorException | targetInvocationWhileMethodInstantiationOfFactory(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.DescriptorException | targetInvocationWhileObsoleteEventExecute(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.DescriptorException | targetInvocationWhileSettingValueThruMethodAccessor(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.DescriptorException | unsupportedTypeForBidirectionalRelationshipMaintenance(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.DescriptorException | updateAllFieldsNotSet(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.DescriptorException | valueHolderInstantiationMismatch(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.DescriptorException | valueNotFoundInClassIndicatorMapping(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.DescriptorException | variableOneToOneMappingIsNotDefinedProperly(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.DescriptorException | writeLockFieldInChildDescriptor(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;
|