Module org.eclipse.persistence.core
Class XMLMarshalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.ValidationException
org.eclipse.persistence.exceptions.XMLMarshalException
- All Implemented Interfaces:
Serializable
Purpose: XMLMarshalExceptions are raised when issues are encountered during XMLMarshaller or XMLUnmarshaller operations.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.exceptions.ValidationException
ALREADY_LOGGED_IN, CACHE_EXPIRY_AND_EXPIRY_TIME_OF_DAY_BOTH_SPECIFIED, CACHE_NOT_SUPPORTED_WITH_EMBEDDABLE, CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION, CANNOT_ACQUIRE_DATA_SOURCE, CANNOT_ACQUIRE_HISTORICAL_SESSION, CANNOT_ADD_DESCRIPTORS_TO_SESSION, CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER, CANNOT_ADD_SEQUENCES_TO_SESSION_BROKER, CANNOT_CAST_TO_CLASS, CANNOT_COMMIT_AND_RESUME_UOW_WITH_MODIFY_ALL_QUERIES, CANNOT_COMMIT_UOW_AGAIN, CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER, CANNOT_INSTANTIATE_EXCEPTIONHANDLER_CLASS, CANNOT_INSTANTIATE_PROFILER_CLASS, CANNOT_INSTANTIATE_SESSIONEVENTLISTENER_CLASS, CANNOT_INVOKE_METHOD_ON_CONFIG_CLASS, CANNOT_LOGIN_TO_A_SESSION, CANNOT_LOGOUT_OF_A_SESSION, CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK, CANNOT_MODIFY_SCHEMA_IN_SESSION, CANNOT_PERSIST_MANAGED_OBJECT, CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK, CANNOT_RELEASE_NON_CLIENTSESSION, CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK, CANNOT_RESUME_SYNCHRONIZED_UOW, CANNOT_SET_CURSOR_FOR_PARAMETER_TYPE_OTHER_THAN_OUT, CANNOT_SET_DEFAULT_SEQUENCE_AS_DEFAULT, CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN, CANNOT_TRANSLATE_UNPREPARED_CALL, CANNOT_WRITE_CHANGES_ON_NESTED_UNIT_OF_WORK, CANNOT_WRITE_CHANGES_TWICE, CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS, CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP, CIRCULAR_MAPPED_BY_REFERENCES, CLASS_EXTRACTOR_CAN_NOT_BE_SPECIFIED_WITH_DISCRIMINATOR, CLASS_FILE_TRANSFORMER_THROWS_EXCEPTION, CLASS_LIST_MUST_NOT_BE_NULL, CLASS_NOT_FOUND_WHILE_CONVERTING_CLASSNAMES, CLASS_NOT_LISTED_IN_PERSISTENCE_UNIT, CLIENT_SESSION_CANNOT_USE_EXCLUSIVE_CONNECTION, COLLECTION_REMOVE_EVENT_WITH_NO_INDEX, CONFIG_FACTORY_NAME_PROPERTY_NOT_FOUND, CONFIG_FACTORY_NAME_PROPERTY_NOT_SPECIFIED, CONFIG_METHOD_NOT_DEFINED, CONFLICTING_ANNOTATIONS, CONFLICTING_NAMED_ANNOTATIONS, CONFLICTING_NAMED_XML_ELEMENTS, CONFLICTING_SEQUENCE_AND_TABLE_GENERATORS_SPECIFIED, CONFLICTING_SEQUENCE_NAME_AND_TABLE_PK_COLUMN_VALUE_SPECIFIED, CONFLICTING_XML_ELEMENTS, CONFLICTNG_ACCESS_METHODS_FOR_EMBEDDABLE, CONFLICTNG_ACCESS_TYPE_FOR_EMBEDDABLE, CONTAINER_POLICY_DOES_NOT_USE_KEYS, CONVERTER_CLASS_MUST_IMPLEMENT_ATTRIBUTE_CONVERTER_INTERFACE, CONVERTER_CLASS_NOT_FOUND, CONVERTER_NOT_FOUND, COPY_POLICY_MUST_SPECIFY_METHOD_OR_WORKING_COPY_METHOD, COULD_NOT_BIND_JNDI, COULD_NOT_FIND_DRIVER_CLASS, COULD_NOT_FIND_MAP_KEY, CREATE_PLATFORM_DEFAULT_SEQUENCE_UNDEFINED, CURRENT_LOADER_NOT_VALID, DEFAULT_SEQUENCE_NAME_ALREADY_USED_BY_SEQUENCE, DERIVED_ID_CIRCULAR_REFERENCE, DESCRIPTOR_MUST_NOT_BE_INITIALIZED, DUPLICATE_PARTITION_VALUE, EJB_CANNOT_LOAD_REMOTE_CLASS, EJB_CONTAINER_EXCEPTION_RAISED, EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION, EJB_FINDER_EXCEPTION, EJB_INVALID_FINDER_ON_HOME, EJB_INVALID_PLATFORM_CLASS, EJB_INVALID_PROJECT_CLASS, EJB_INVALID_SESSION_TYPE_CLASS, EJB_MUST_BE_IN_TRANSACTION, EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES, EJB_PRIMARY_KEY_REFLECTION_EXCEPTION, EJB_SESSION_TYPE_CLASS_NOT_FOUND, EJB_TOPLINK_PROPERTIES_NOT_FOUND, EMBEDDABLE_ASSOCIATION_OVERRIDE_NOT_FOUND, EMBEDDABLE_ATTRIBUTE_NAME_FOR_CONVERT_NOT_FOUND, EMBEDDABLE_ATTRIBUTE_OVERRIDE_NOT_FOUND, EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND, EMBEDDED_ID_CLASS_HAS_NO_ATTRIBUTES, ENCRYPTION_OLD_ALGORITHM, ENTITY_CLASS_NOT_FOUND, ERROR_CLOSING_PERSISTENCE_XML, ERROR_DECRYPTING_PASSWORD, ERROR_ENCRYPTING_PASSWORD, ERROR_IN_SESSION_XML, ERROR_INSTANTIATING_CLASS, ERROR_INSTANTIATING_CONVERSION_VALUE_DATA, ERROR_INSTANTIATING_CONVERSION_VALUE_OBJECT, ERROR_PARSING_MAPPING_FILE, ERROR_PROCESSING_NAMED_QUERY, EXCEPTION_CONFIGURING_EM_FACTORY, EXCESSIVE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, EXCLUSIVE_CONNECTION_NO_LONGER_AVAILABLE, EXISTING_QUERY_TYPE_CONFLICT, EXPECTED_PROXY_PROPERTY_NOT_FOUND, FATAL_ERROR_OCCURRED, FEATURE_NOT_SUPPORTED_IN_JDK_VERSION, FETCH_GROUP_HAS_UNMAPPED_ATTRIBUTE, FETCH_GROUP_HAS_WRONG_REFERENCE_ATTRIBUTE, FETCH_GROUP_HAS_WRONG_REFERENCE_CLASS, FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK, FILE_ERROR, HISTORICAL_SESSION_ONLY_SUPPORTED_ON_ORACLE, ILLEGAL_CONTAINER_CLASS, ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION, INACTIVE_UNIT_OF_WORK, INCOMPLETE_JOIN_COLUMNS_SPECIFIED, INCOMPLETE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, INCORRECT_ASM_SERVICE_PROVIDED, INCORRECT_LOGIN_INSTANCE_PROVIDED, INSTANTIATING_VALUEHOLDER_WITH_NULL_SESSION, INVALID_ASSOCIATION_OVERRIDE_REFERENCE_COLUMN_NAME, INVALID_ATTRIBUTE_OVERRIDE_NAME, INVALID_ATTRIBUTE_TYPE_FOR_ORDER_COLUMN, INVALID_BOOLEAN_VALUE_FOR_ADDINGNAMEDQUERIES, INVALID_BOOLEAN_VALUE_FOR_ENABLESTATMENTSCACHED, INVALID_BOOLEAN_VALUE_FOR_PROPERTY, INVALID_BOOLEAN_VALUE_FOR_SETTING_ALLOW_NATIVESQL_QUERIES, INVALID_BOOLEAN_VALUE_FOR_SETTING_NATIVESQL, INVALID_CACHESTATEMENTS_SIZE_VALUE, INVALID_CALLBACK_METHOD, INVALID_CALLBACK_METHOD_MODIFIER, INVALID_CALLBACK_METHOD_NAME, INVALID_CLASS_LOADER_FOR_DYNAMIC_PERSISTENCE, INVALID_CLASS_TYPE_FOR_BLOB_ATTRIBUTE, INVALID_CLASS_TYPE_FOR_CLOB_ATTRIBUTE, INVALID_COLLECTION_TYPE_FOR_RELATIONSHIP, INVALID_COLUMN_ANNOTATION_ON_RELATIONSHIP, INVALID_COMPARATOR_CLASS, INVALID_COMPOSITE_PK_ATTRIBUTE, INVALID_COMPOSITE_PK_SPECIFICATION, INVALID_CONNECTOR, INVALID_DATA_SOURCE_NAME, INVALID_DERIVED_COMPOSITE_PK_ATTRIBUTE, INVALID_DERIVED_ID_PRIMARY_KEY_FIELD, INVALID_EMBEDDABLE_ATTRIBUTE_FOR_ASSOCIATION_OVERRIDE, INVALID_EMBEDDABLE_ATTRIBUTE_FOR_ATTRIBUTE_OVERRIDE, INVALID_EMBEDDABLE_CLASS_FOR_ELEMENT_COLLECTION, INVALID_EMBEDDED_ATTRIBUTE, INVALID_ENCRYPTION_CLASS, INVALID_ENTITY_CALLBACK_METHOD_ARGUMENTS, INVALID_ENTITY_LISTENER_CALLBACK_METHOD_ARGUMENTS, INVALID_ENTITY_MAPPINGS_DOCUMENT, INVALID_EXCEPTIONHANDLER_CLASS, INVALID_EXPLICIT_ACCESS_TYPE, INVALID_FIELD_FOR_CLASS, INVALID_FILE_TYPE, INVALID_LOGGING_FILE, INVALID_MAPPED_BY_ID_VALUE, INVALID_MAPPING, INVALID_MAPPING_FOR_CONVERT, INVALID_MAPPING_FOR_CONVERT_WITH_ATTRIBUTE_NAME, INVALID_MAPPING_FOR_CONVERTER, INVALID_MAPPING_FOR_EMBEDDED_ID, INVALID_MAPPING_FOR_MAP_KEY_CONVERT, INVALID_MAPPING_FOR_STRUCT_CONVERTER, INVALID_MERGE_POLICY, INVALID_METHOD_ARGUMENTS, INVALID_NULL_METHOD_ARGUMENTS, INVALID_ORDER_BY_VALUE, INVALID_PERSISTENCE_ROOT_URL, INVALID_PROFILER_CLASS, INVALID_PROPERTY_FOR_CLASS, INVALID_READ_ONLY_CLASS_STRUCTURE_IN_UNIT_OF_WORK, INVALID_SEQUENCING_LOGIN, INVALID_SESSIONEVENTLISTENER_CLASS, INVALID_SQL_RESULT_SET_MAPPING_NAME, INVALID_TARGET_CLASS, INVALID_TYPE_FOR_BASIC_COLLECTION_ATTRIBUTE, INVALID_TYPE_FOR_BASIC_MAP_ATTRIBUTE, INVALID_TYPE_FOR_ENUMERATED_ATTRIBUTE, INVALID_TYPE_FOR_LOB_ATTRIBUTE, INVALID_TYPE_FOR_SERIALIZED_ATTRIBUTE, INVALID_TYPE_FOR_TEMPORAL_ATTRIBUTE, INVALID_TYPE_FOR_VERSION_ATTRIBUTE, INVALID_VALUE_FOR_PROPERTY, ISOLATED_DATA_NOT_SUPPORTED_IN_CLIENTSESSIONBROKER, JAR_FILES_IN_PERSISTENCE_XML_NOT_SUPPORTED, JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE, JTS_EXCEPTION_RAISED, KEYS_MUST_MATCH, LIST_ORDER_FIELD_NOT_SUPPORTED, LOG_IO_ERROR, LOGGING_FILE_NAME_CANNOT_BE_EMPTY, LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS, MAP_KEY_CANNOT_USE_INDIRECTION, MAP_KEY_NOT_DECLARED_IN_ITEM_CLASS, MAPPING_ANNOTATIONS_APPLIED_TO_TRANSIENT_ATTRIBUTE, MAPPING_DOES_NOT_OVERRIDE_VALUEFROMROWINTERNALWITHJOIN, MAPPING_FILE_NOT_FOUND, MAPPING_METADATA_APPLIED_TO_METHOD_WITH_ARGUMENTS, MAX_SIZE_LESS_THAN_MIN_SIZE, METHOD_FAILED, MISSING_CONTEXT_STRING_FOR_CONTEXT, MISSING_CONVERT_ATTRIBUTE_NAME, MISSING_DESCRIPTOR, MISSING_FIELD_TYPE_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION_, MISSING_MAPPING, MISSING_MAPPING_CONVERT_ATTRIBUTE_NAME, MISSING_PROPERTIES_FILE_FOR_METADATA_SOURCE, MISSING_TRANSFORMER_METHOD_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION, MISSING_XML_FILE_FOR_METADATA_SOURCE, MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES, MULTIPLE_CALLBACK_METHODS_DEFINED, MULTIPLE_CLASSES_FOR_THE_SAME_DISCRIMINATOR, MULTIPLE_CONTEXT_PROPERTY_FOR_TENANT_DISCRIMINATOR_FIELD, MULTIPLE_COPY_POLICY_ANNOTATIONS_ON_SAME_CLASS, MULTIPLE_CURSORS_NOT_SUPPORTED, MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND, MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE, MULTIPLE_OUT_PARAMS_NOT_SUPPORTED, MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES, MULTIPLE_UNIQUE_CONSTRAINTS_WITH_SAME_NAME_SPECIFIED, MULTITENANT_PROPERTY_FOR_NON_SHARED_EMF_NOT_SPECIFIED, NESTED_UOW_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, NESTED_UOW_NOT_SUPPORTED_FOR_MODIFY_ALL_QUERY, NO_ATTRIBUTE_TYPE_SPECIFICATION, NO_CONVERTER_DATA_TYPE_SPECIFIED, NO_CONVERTER_OBJECT_TYPE_SPECIFIED, NO_CORRESPONDING_SETTER_METHOD_DEFINED, NO_MAPPED_BY_ATTRIBUTE_FOUND, NO_PK_ANNOTATIONS_FOUND, NO_PROJECT_SPECIFIED_IN_PROPERTIES, NO_PROPERTIES_FILE_FOUND, NO_SESSION_FOUND, NO_SESSION_REGISTERED_FOR_CLASS, NO_SESSION_REGISTERED_FOR_NAME, NO_SESSIONS_XML_FOUND, NO_TABLES_TO_CREATE, NO_TEMPORAL_TYPE_SPECIFIED, NO_TOPLINK_EJB_JAR_XML_FOUND, NON_ENTITY_AS_TARGET_IN_RELATIONSHIP, NON_READ_ONLY_MAPPED_TENANT_DISCRIMINATOR_FIELD, NON_UNIQUE_ENTITY_NAME, NON_UNIQUE_MAPPING_FILE_NAME, NON_UNIQUE_REPOSITORY_FILE_NAME, NOT_AVAILABLE_ASM_SERVICE, NOT_SUPPORTED_FOR_DATASOURCE, NULL_CACHE_KEY_FOUND_ON_REMOVAL, NULL_PK_IN_UOW_CLONE, NULL_UNDERLYING_VALUEHOLDER_VALUE, OBJECT_NEED_IMPL_TRACKER_FOR_FETCH_GROUP_USAGE, OLD_COMMIT_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS, ONLY_ONE_GENERATED_VALURE_IS_ALLOWED, OPERATION_NOT_SUPPORTED, OPTIMISTIC_LOCKING_NOT_SUPPORTED, OPTIMISTIC_LOCKING_SELECTED_COLUMN_NAMES_NOT_SPECIFIED, OPTIMISTIC_LOCKING_VERSION_ELEMENT_NOT_SPECIFIED, ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED, ORACLE_OBJECT_TYPE_NOT_DEFINED, ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_INT_PROXYTYPE, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION_VERSION, ORACLEOCIPROXYCONNECTOR_REQUIRES_ORACLEOCICONNECTIONPOOL, PLATFORM_CLASS_NOT_FOUND, PLATFORM_DOES_NOT_OVERRIDE_GETCREATETEMPTABLESQLPREFIX, PLATFORM_DOES_NOT_SUPPORT_CALL_WITH_RETURNING, PLATFORM_DOES_NOT_SUPPORT_SEQUENCE, PLATFORM_DOES_NOT_SUPPORT_STORED_FUNCTIONS, POOL_NAME_DOES_NOT_EXIST, POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN, PRIMARY_KEY_COLUMN_NAME_NOT_SPECIFIED, PRIMARY_KEY_UPDATE_DISALLOWED, PRIMARY_TABLE_NOT_DEFINED_FOR_RELATIONSHIP, PROJECT_AMENDMENT_EXCEPTION_OCCURED, PROJECT_LOGIN_IS_NULL, PROJECT_XML_NOT_FOUND, QUERY_ARGUMENT_TYPE_NOT_FOUND, QUERY_SEQUENCE_DOES_NOT_HAVE_SELECT_QUERY, READ_TRANSFORMER_CLASS_DOESNT_IMPLEMENT_ATTRIBUTE_TRANSFORMER, READ_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD, READ_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD, REFLECTIVE_EXCEPTION_WHILE_CREATING_CLASS_INSTANCE, SEQUENCE_CANNOT_BE_CONNECTED_TO_TWO_PLATFORMS, SEQUENCE_GENERATOR_RESERVED_NAME, SEQUENCE_NAME_ALREADY_USED_BY_DEFAULT_SEQUENCE, SEQUENCE_SETUP_INCORRECTLY, SERVER_PLATFORM_IS_READ_ONLY_AFTER_LOGIN, SESSION_AMENDMENT_EXCEPTION_OCCURED, SET_LISTENER_CLASSES_EXCEPTION, SHARED_DESCRIPTOR_ALIAS, START_INDEX_OUT_OF_RANGE, STOP_INDEX_OUT_OF_RANGE, SUB_SESSION_NOT_DEFINED_FOR_BROKER, TABLE_GENERATOR_RESERVED_NAME, TWO_STRUCT_CONVERTERS_ADDED_FOR_SAME_CLASS, UNABLE_TO_DETERMINE_MAP_KEY_CLASS, UNABLE_TO_DETERMINE_TARGET_CLASS, UNABLE_TO_DETERMINE_TARGET_ENTITY, UNABLE_TO_LOAD_CLASS, UNFETCHED_ATTRIBUTE_NOT_EDITABLE, UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ANNOTATIONS, UNIT_OF_WORK_AFTER_WRITE_CHANGES_FAILED, UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING, UNKNOWN_PROXY_TYPE, UNSPECIFIED_COMPOSITE_PK_NOT_SUPPORTED, UNSUPPORTED_CASCADE_LOCKING_DESCRIPTOR, UNSUPPORTED_CASCADE_LOCKING_MAPPING, UNSUPPORTED_CASCADE_LOCKING_MAPPING_WITH_CUSTOM_QUERY, VPD_MULTIPLE_IDENTIFIERS_SPECIFIED, VPD_NOT_SUPPORTED, WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK, WRITE_TRANSFORMER_CLASS_DOESNT_IMPLEMENT_FIELD_TRANSFORMER, WRITE_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD, WRITE_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD, WRITE_TRANSFORMER_HAS_NO_COLUMN_NAME, WRONG_CHANGE_EVENT, WRONG_COLLECTION_CHANGE_EVENT_TYPE, WRONG_OBJECT_REGISTERED, WRONG_PROPERTY_NAME_IN_CHANGE_EVENT, WRONG_SEQUENCE_TYPE, WRONG_USAGE_OF_SET_CUSTOM_SQL_ARGUMENT_TYPE_METOD
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
ModifierConstructorDescriptionprotected
XMLMarshalException
(String message) protected
XMLMarshalException
(String message, Exception internalException) -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLMarshalException
defaultRootElementNotSpecified
(Descriptor descriptor) static XMLMarshalException
defaultRootElementNotSpecified
(XMLDescriptor descriptor) static XMLMarshalException
descriptorNotFoundInProject
(String className) static XMLMarshalException
static XMLMarshalException
errorInstantiatingSchemaPlatform
(Exception nestedException) static XMLMarshalException
errorInstantiatingUnmappedContentHandler
(Exception nestedException, String className) static XMLMarshalException
errorInvokingCharacterEscapeHandler
(String methodName, Object handler, Throwable nestedException) static XMLMarshalException
errorInvokingFromStringMethod
(Exception nestedException, String className) static XMLMarshalException
errorInvokingIDResolver
(String methodName, Object resolver, Throwable nestedException) static XMLMarshalException
errorInvokingPrefixMapperMethod
(String methodName, Object prefixMapper) static XMLMarshalException
errorProcessingCharacterEscapeHandler
(String methodName, Object handler, Throwable nestedException) static XMLMarshalException
errorProcessingIDResolver
(String methodName, Object resolver, Throwable nestedException) static XMLMarshalException
errorProcessingPrefixMapper
(String methodName, Object prefixMapper) static XMLMarshalException
errorResolvingXMLSchema
(Exception nestedException) static XMLMarshalException
errorSettingSchemas
(Exception nestedException, Object[] schemas) static XMLMarshalException
static XMLMarshalException
invalidAttributeGroupName
(String groupName, String className) static XMLMarshalException
invalidEnumClassSpecified
(Exception nestedException, String className) static XMLMarshalException
invalidSwaRefAttribute
(String attributeClassification) static XMLMarshalException
invalidXPathIndexString
(String xpathString) static XMLMarshalException
invalidXPathString
(String xpathString, Exception nestedException) static XMLMarshalException
marshalException
(Exception nestedException) static XMLMarshalException
missingIDForIDRef
(String classname, Object[] primaryKey) static XMLMarshalException
namespaceNotFound
(String prefix) static XMLMarshalException
namespaceResolverNotSpecified
(String localName) static XMLMarshalException
static XMLMarshalException
noDescriptorFound
(Mapping mapping) static XMLMarshalException
noDescriptorFound
(DatabaseMapping mapping) static XMLMarshalException
noDescriptorWithMatchingRootElement
(String rootElementName) static XMLMarshalException
noEncoderForMimeType
(String mimeType) static XMLMarshalException
static XMLMarshalException
nullValueNotAllowed
(String variableName, String className) static XMLMarshalException
objectCycleDetected
(String objectCycleString) static XMLMarshalException
objectNotFoundInCache
(String nodeName) static XMLMarshalException
schemaReferenceNotSet
(XMLDescriptor descriptor) static XMLMarshalException
subclassAttemptedToOverrideNamespaceDeclaration
(String prefix, String subClassName, String subClassNamespaceURI, String parentClassName, String parentClassNamespaceURI) static XMLMarshalException
unknownXsiTypeValue
(String xsiType, Mapping mapping) static XMLMarshalException
unknownXsiTypeValue
(String xsiType, DatabaseMapping mapping) static XMLMarshalException
unmappedContentHandlerDoesntImplement
(Exception nestedException, String className) static XMLMarshalException
static XMLMarshalException
unmarshalException
(Exception nestedException) static XMLMarshalException
unmarshalFromStringException
(String systemId, Exception nestedException) static XMLMarshalException
static XMLMarshalException
validateException
(Exception nestedException) static XMLMarshalException
wrappedIDResolverWithMultiID
(String keyString, Object resolver) Methods inherited from class org.eclipse.persistence.exceptions.ValidationException
alreadyLoggedIn, cacheExpiryAndExpiryTimeOfDayBothSpecified, cacheNotSupportedWithEmbeddable, cannotAcquireClientSessionFromSession, cannotAcquireDataSource, cannotAcquireHistoricalSession, cannotAddDescriptorsToSessionBroker, cannotAddSequencesToSessionBroker, cannotCastToClass, cannotCommitAndResumeSynchronizedUOW, cannotCommitAndResumeUOWWithModifyAllQueries, cannotCommitUOWAgain, cannotCreateExternalTransactionController, cannotHaveUnboundInOutputArguments, cannotInstantiateExceptionHandlerClass, cannotInstantiateProfilerClass, cannotInstantiateSessionEventListenerClass, cannotInvokeMethodOnConfigClass, cannotIssueModifyAllQueryWithOtherWritesWithinUOW, cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork, cannotPersistExistingObject, cannotRegisterAggregateObjectInUnitOfWork, cannotReleaseNonClientSession, cannotRemoveFromReadOnlyClassesInNestedUnitOfWork, cannotSetCursorForParameterTypeOtherThanOut, cannotSetDefaultSequenceAsDefault, cannotSetListenerClasses, cannotSetReadPoolSizeAfterLogin, cannotTranslateUnpreparedCall, cannotWriteChangesTwice, childDescriptorsDoNotHaveIdentityMap, circularMappedByReferences, classExtractorCanNotBeSpecifiedWithDiscriminatorMetadata, classFileTransformerThrowsException, classListMustNotBeNull, classNotFoundWhileConvertingClassNames, classNotListedInPersistenceUnit, clientSessionCanNotUseExclusiveConnection, collectionRemoveEventWithNoIndex, configFactoryNamePropertyNotFound, configFactoryNamePropertyNotSpecified, configMethodNotDefined, conflictingAccessMethodsForEmbeddable, conflictingAccessTypeForEmbeddable, conflictingAnnotations, conflictingNamedAnnotations, conflictingNamedXMLElements, conflictingSequenceAndTableGeneratorsSpecified, conflictingSequenceNameAndTablePkColumnValueSpecified, conflictingXMLElements, containerPolicyDoesNotUseKeys, converterClassMustImplementAttributeConverterInterface, converterClassNotFound, converterNotFound, copyPolicyMustSpecifyEitherMethodOrWorkingCopyMethod, couldNotBindJndi, couldNotFindDriverClass, couldNotFindMapKey, createPlatformDefaultSequenceUndefined, currentLoaderNotValid, defaultSequenceNameAlreadyUsedBySequence, descriptorMustBeNotInitialized, duplicatePartitionValue, ejbCannotLoadRemoteClass, ejbContainerExceptionRaised, ejbDescriptorNotFoundInSession, ejbFinderException, ejbInvalidHomeInterfaceClass, ejbInvalidPlatformClass, ejbInvalidProjectClass, ejbInvalidSessionTypeClass, ejbMustBeInTransaction, ejbPrimaryKeyReflectionException, ejbSessionTypeClassNotFound, embeddableAssociationOverrideNotFound, embeddableAttributeNameForConvertNotFound, embeddableAttributeOverrideNotFound, embeddedIdAndIdAnnotationFound, embeddedIdHasNoAttributes, entityClassNotFound, errorClosingPersistenceXML, errorDecryptingPassword, errorDecryptingPasswordOldAlgorithm, errorEncryptingPassword, errorInSessionsXML, errorInstantiatingClass, errorInstantiatingConversionValueData, errorInstantiatingConversionValueObject, errorParsingMappingFile, errorProcessingNamedQuery, exceptionConfiguringEMFactory, excessivePrimaryKeyJoinColumnsSpecified, excusiveConnectionIsNoLongerAvailable, existingQueryTypeConflict, expectedProxyPropertyNotFound, fatalErrorOccurred, featureIsNotAvailableInRunningJDKVersion, fetchGroupHasUnmappedAttribute, fetchGroupHasWrongReferenceAttribute, fetchGroupHasWrongReferenceClass, fieldLevelLockingNotSupportedWithoutUnitOfWork, fileError, historicalSessionOnlySupportedOnOracle, idRelationshipCircularReference, illegalContainerClass, illegalOperationForUnitOfWorkLifecycle, illegalUseOfMapInDirectCollection, inActiveUnitOfWork, incompleteJoinColumnsSpecified, incompletePrimaryKeyJoinColumnsSpecified, incorrectASMServiceProvided, incorrectLoginInstanceProvided, instantiatingValueholderWithNullSession, invalidAssociationOverrideReferenceColumnName, invalidAttributeOverrideName, invalidAttributeTypeForOrderColumn, invalidBooleanValueForAddingNamedQueries, invalidBooleanValueForEnableStatmentsCached, invalidBooleanValueForProperty, invalidBooleanValueForSettingAllowNativeSQLQueries, invalidBooleanValueForSettingNativeSQL, invalidCacheStatementsSize, invalidCallbackMethod, invalidCallbackMethodModifier, invalidCallbackMethodName, invalidClassLoaderForDynamicPersistence, invalidClassTypeForBLOBAttribute, invalidClassTypeForCLOBAttribute, invalidCollectionTypeForRelationship, invalidColumnAnnotationOnRelationship, invalidComparatorClass, invalidCompositePKAttribute, invalidCompositePKSpecification, invalidConnector, invalidDataSourceName, invalidDerivedCompositePKAttribute, invalidDerivedIdPrimaryKeyField, invalidEmbeddableAttributeForAssociationOverride, invalidEmbeddableAttributeForAttributeOverride, invalidEmbeddableClassForElementCollection, invalidEmbeddedAttribute, invalidEncryptionClass, invalidEntityCallbackMethodArguments, invalidEntityListenerCallbackMethodArguments, invalidEntityMappingsDocument, invalidExceptionHandlerClass, invalidExplicitAccessTypeSpecified, invalidFieldForClass, invalidFileName, invalidLoggingFile, invalidLoggingFile, invalidMappedByIdValue, invalidMapping, invalidMappingForConvert, invalidMappingForConverter, invalidMappingForConvertWithAttributeName, invalidMappingForEmbeddedId, invalidMappingForMapKeyConvert, invalidMappingForStructConverter, invalidMergePolicy, invalidMethodArguments, invalidNullMethodArguments, invalidOrderByValue, invalidPersistenceRootUrl, invalidProfilerClass, invalidPropertyForClass, invalidSequencingLogin, invalidSessionEventListenerClass, invalidSQLResultSetMapping, invalidTargetClass, invalidTypeForBasicCollectionAttribute, invalidTypeForBasicMapAttribute, invalidTypeForEnumeratedAttribute, invalidTypeForLOBAttribute, invalidTypeForSerializedAttribute, invalidTypeForTemporalAttribute, invalidTypeForVersionAttribute, invalidValueForProperty, isolatedDataNotSupportedInSessionBroker, jarFilesInPersistenceXmlNotSupported, javaTypeIsNotAValidDatabaseType, jtsExceptionRaised, listOrderFieldNotSupported, loginBeforeAllocatingClientSessions, logIOError, mapKeyCannotUseIndirection, mapKeyNotDeclaredInItemClass, mappingAnnotationsAppliedToTransientAttribute, mappingDoesNotOverrideValueFromRowInternalWithJoin, mappingFileNotFound, mappingMetadataAppliedToMethodWithArguments, maxSizeLessThanMinSize, methodFailed, missingContextStringForContext, missingConvertAttributeName, missingDescriptor, missingFieldTypeForDDLGenerationOfClassTransformation, missingMappingConvertAttributeName, missingMappingForAttribute, missingPropertiesFileForMetadataRepositoryConfig, missingTransformerMethodForDDLGenerationOfClassTransformation, missingXMLMetadataRepositoryConfig, multipleClassesForTheSameDiscriminator, multipleContextPropertiesForSameTenantDiscriminatorFieldSpecified, multipleCopyPolicyAnnotationsOnSameClass, multipleCursorsNotSupported, multipleEmbeddedIdAnnotationsFound, multipleLifecycleCallbackMethodsForSameLifecycleEvent, multipleObjectValuesForDataValue, multipleOutParamsNotSupported, multipleUniqueConstraintsWithSameNameSpecified, multipleVPDIdentifiersSpecified, multitenantContextPropertyForNonSharedEMFNotSpecified, nestedUOWNotSupportedForAttributeTracking, nestedUOWNotSupportedForModifyAllQuery, noAttributeTypeSpecification, noConverterDataTypeSpecified, noConverterObjectTypeSpecified, noCorrespondingSetterMethodDefined, noMappedByAttributeFound, nonEntityTargetInRelationship, nonReadOnlyMappedTenantDiscriminatorField, nonUniqueEntityName, nonUniqueMappingFileName, nonUniqueRepositoryFileName, noPrimaryKeyAnnotationsFound, noPropertiesFileFound, noSessionFound, noSessionRegisteredForClass, noSessionRegisteredForName, noSessionsXMLFound, noTablesToCreate, notAvailableASMService, noTemporalTypeSpecified, noTopLinkEjbJarXMLFound, notSupportedForDatasource, nullCacheKeyFoundOnRemoval, nullPrimaryKeyInUnitOfWorkClone, nullUnderlyingValueHolderValue, objectNeedImplTrackerForFetchGroupUsage, oldCommitNotSupportedForAttributeTracking, onlyFieldsAreValidKeysForDatabaseRows, onlyOneGeneratedValueIsAllowed, operationNotSupported, optimisticLockingNotSupportedWithStoredProcedureGeneration, optimisticLockingSelectedColumnNamesNotSpecified, optimisticLockingVersionElementNotSpecified, oracleJDBC10_1_0_2ProxyConnectorRequiresIntProxytype, oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnection, oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnectionVersion, oracleObjectTypeIsNotDefined, oracleObjectTypeNameIsNotDefined, oracleOCIProxyConnectorRequiresOracleOCIConnectionPool, oracleVarrayMaximumSizeNotDefined, platformClassNotFound, platformDoesNotOverrideGetCreateTempTableSqlPrefix, platformDoesNotSupportCallWithReturning, platformDoesNotSupportSequence, platformDoesNotSupportStoredFunctions, poolNameDoesNotExist, poolsMustBeConfiguredBeforeLogin, primaryKeyColumnNameNotSpecified, primaryKeyUpdateDisallowed, primaryTableNotDefined, projectLoginIsNull, projectXMLNotFound, queryArgumentTypeNotFound, querySequenceDoesNotHaveSelectQuery, readTransformerClassDoesntImplementAttributeTransformer, readTransformerHasBothClassAndMethod, readTransformerHasNeitherClassNorMethod, reflectiveExceptionWhileCreatingClassInstance, sequenceCannotBeConnectedToTwoPlatforms, sequenceGeneratorUsingAReservedName, sequenceNameAlreadyUsedByDefaultSequence, sequenceSetupIncorrectly, serverPlatformIsReadOnlyAfterLogin, sessionAmendmentExceptionOccured, sharedDescriptorAlias, startIndexOutOfRange, stopIndexOutOfRange, tableGeneratorUsingAReservedName, twoStructConvertersAddedForSameClass, unableToDetermineMapKeyClass, unableToDetermineTargetClass, unableToDetermineTargetEntity, unableToLoadClass, unfetchedAttributeNotEditable, uniDirectionalOneToManyHasJoinColumnAnnotations, unitOfWorkAfterWriteChangesFailed, unitOfWorkInTransactionCommitPending, unitOfWorkInTransactionCommitPending, unknownProxyType, unspecifiedCompositePKNotSupported, unsupportedCascadeLockingDescriptor, unsupportedCascadeLockingMapping, unsupportedCascadeLockingMappingWithCustomQuery, vpdNotSupported, writeChangesOnNestedUnitOfWork, writeObjectNotAllowedInUnitOfWork, writeTransformerClassDoesntImplementFieldTransformer, writeTransformerHasBothClassAndMethod, writeTransformerHasNeitherClassNorMethod, writeTransformerHasNoColumnName, wrongChangeEvent, wrongCollectionChangeEventType, wrongObjectRegistered, wrongPropertyNameInChangeEvent, wrongSequenceType, wrongUsageOfSetCustomArgumentTypeMethod
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
INVALID_XPATH_STRING
public static final int INVALID_XPATH_STRING- See Also:
-
INVALID_XPATH_INDEX_STRING
public static final int INVALID_XPATH_INDEX_STRING- See Also:
-
MARSHAL_EXCEPTION
public static final int MARSHAL_EXCEPTION- See Also:
-
UNMARSHAL_EXCEPTION
public static final int UNMARSHAL_EXCEPTION- See Also:
-
VALIDATE_EXCEPTION
public static final int VALIDATE_EXCEPTION- See Also:
-
DEFAULT_ROOT_ELEMENT_NOT_SPECIFIED
public static final int DEFAULT_ROOT_ELEMENT_NOT_SPECIFIED- See Also:
-
DESCRIPTOR_NOT_FOUND_IN_PROJECT
public static final int DESCRIPTOR_NOT_FOUND_IN_PROJECT- See Also:
-
NO_DESCRIPTOR_WITH_MATCHING_ROOT_ELEMENT
public static final int NO_DESCRIPTOR_WITH_MATCHING_ROOT_ELEMENT- See Also:
-
SCHEMA_REFERENCE_NOT_SET
public static final int SCHEMA_REFERENCE_NOT_SET- See Also:
-
NULL_ARGUMENT
public static final int NULL_ARGUMENT- See Also:
-
ERROR_RESOLVING_XML_SCHEMA
public static final int ERROR_RESOLVING_XML_SCHEMA- See Also:
-
ERROR_SETTING_SCHEMAS
public static final int ERROR_SETTING_SCHEMAS- See Also:
-
ERROR_INSTANTIATING_SCHEMA_PLATFORM
public static final int ERROR_INSTANTIATING_SCHEMA_PLATFORM- See Also:
-
NAMESPACE_RESOLVER_NOT_SPECIFIED
public static final int NAMESPACE_RESOLVER_NOT_SPECIFIED- See Also:
-
NAMESPACE_NOT_FOUND
public static final int NAMESPACE_NOT_FOUND- See Also:
-
ENUM_CLASS_NOT_SPECIFIED
public static final int ENUM_CLASS_NOT_SPECIFIED- See Also:
-
FROMSTRING_METHOD_ERROR
public static final int FROMSTRING_METHOD_ERROR- See Also:
-
INVALID_ENUM_CLASS_SPECIFIED
public static final int INVALID_ENUM_CLASS_SPECIFIED- See Also:
-
ILLEGAL_STATE_XML_UNMARSHALLER_HANDLER
public static final int ILLEGAL_STATE_XML_UNMARSHALLER_HANDLER- See Also:
-
INVALID_SWA_REF_ATTRIBUTE_TYPE
public static final int INVALID_SWA_REF_ATTRIBUTE_TYPE- See Also:
-
NO_ENCODER_FOR_MIME_TYPE
public static final int NO_ENCODER_FOR_MIME_TYPE- See Also:
-
NO_DESCRIPTOR_FOUND
public static final int NO_DESCRIPTOR_FOUND- See Also:
-
ERROR_INSTANTIATING_UNMAPPED_CONTENTHANDLER
public static final int ERROR_INSTANTIATING_UNMAPPED_CONTENTHANDLER- See Also:
-
UNMAPPED_CONTENTHANDLER_DOESNT_IMPLEMENT
public static final int UNMAPPED_CONTENTHANDLER_DOESNT_IMPLEMENT- See Also:
-
OBJ_NOT_FOUND_IN_CACHE
public static final int OBJ_NOT_FOUND_IN_CACHE- See Also:
-
NO_ATTACHMENT_UNMARSHALLER_SET
public static final int NO_ATTACHMENT_UNMARSHALLER_SET- See Also:
-
UNKNOWN_XSI_TYPE
public static final int UNKNOWN_XSI_TYPE- See Also:
-
SUBCLASS_ATTEMPTED_TO_OVERRIDE_NAMESPACE_DECLARATION
public static final int SUBCLASS_ATTEMPTED_TO_OVERRIDE_NAMESPACE_DECLARATION- See Also:
-
ERROR_INVOKING_NAMESPACE_PREFIX_MAPPER
public static final int ERROR_INVOKING_NAMESPACE_PREFIX_MAPPER- See Also:
-
ERROR_PROCESSING_PREFIX_MAPPER
public static final int ERROR_PROCESSING_PREFIX_MAPPER- See Also:
-
ERROR_INVOKING_CHARACTER_ESCAPE_HANDLER
public static final int ERROR_INVOKING_CHARACTER_ESCAPE_HANDLER- See Also:
-
ERROR_PROCESSING_CHARACTER_ESCAPE_HANDLER
public static final int ERROR_PROCESSING_CHARACTER_ESCAPE_HANDLER- See Also:
-
ERROR_INVOKING_ID_RESOLVER
public static final int ERROR_INVOKING_ID_RESOLVER- See Also:
-
ERROR_PROCESSING_ID_RESOLVER
public static final int ERROR_PROCESSING_ID_RESOLVER- See Also:
-
WRAPPED_ID_RESOLVER_WITH_MULTI_ID
public static final int WRAPPED_ID_RESOLVER_WITH_MULTI_ID- See Also:
-
OBJECT_CYCLE_DETECTED
public static final int OBJECT_CYCLE_DETECTED- See Also:
-
PLATFORM_NOT_SUPPORTED_WITH_JSON_MEDIA_TYPE
public static final int PLATFORM_NOT_SUPPORTED_WITH_JSON_MEDIA_TYPE- See Also:
-
UNMARSHAL_FROM_STRING_FAILED
public static final int UNMARSHAL_FROM_STRING_FAILED- See Also:
-
MISSING_ID_FOR_IDREF
public static final int MISSING_ID_FOR_IDREF- See Also:
-
INVALID_ATTRIBUTE_GROUP_NAME
public static final int INVALID_ATTRIBUTE_GROUP_NAME- See Also:
-
NULL_VALUE_NOT_ALLOWED_FOR_VARIABLE
public static final int NULL_VALUE_NOT_ALLOWED_FOR_VARIABLE- See Also:
-
-
Constructor Details
-
XMLMarshalException
-
XMLMarshalException
-
-
Method Details
-
invalidXPathString
-
invalidXPathIndexString
-
marshalException
-
unmarshalException
-
unmarshalException
-
validateException
-
defaultRootElementNotSpecified
-
defaultRootElementNotSpecified
-
descriptorNotFoundInProject
-
noDescriptorWithMatchingRootElement
-
schemaReferenceNotSet
-
nullArgumentException
-
errorResolvingXMLSchema
-
errorSettingSchemas
-
errorInstantiatingSchemaPlatform
-
namespaceResolverNotSpecified
-
namespaceNotFound
-
enumClassNotSpecified
-
errorInvokingFromStringMethod
public static XMLMarshalException errorInvokingFromStringMethod(Exception nestedException, String className) -
invalidEnumClassSpecified
public static XMLMarshalException invalidEnumClassSpecified(Exception nestedException, String className) -
illegalStateXMLUnmarshallerHandler
-
invalidSwaRefAttribute
-
noEncoderForMimeType
-
noDescriptorFound
- Since:
- EclipseLink 2.5.0
-
noDescriptorFound
-
errorInstantiatingUnmappedContentHandler
public static XMLMarshalException errorInstantiatingUnmappedContentHandler(Exception nestedException, String className) -
unmappedContentHandlerDoesntImplement
public static XMLMarshalException unmappedContentHandlerDoesntImplement(Exception nestedException, String className) -
objectNotFoundInCache
-
noAttachmentUnmarshallerSet
-
unknownXsiTypeValue
- Since:
- EclipseLink 2.5.0
-
unknownXsiTypeValue
-
subclassAttemptedToOverrideNamespaceDeclaration
-
errorInvokingPrefixMapperMethod
public static XMLMarshalException errorInvokingPrefixMapperMethod(String methodName, Object prefixMapper) -
errorProcessingPrefixMapper
public static XMLMarshalException errorProcessingPrefixMapper(String methodName, Object prefixMapper) -
errorInvokingCharacterEscapeHandler
public static XMLMarshalException errorInvokingCharacterEscapeHandler(String methodName, Object handler, Throwable nestedException) -
errorProcessingCharacterEscapeHandler
public static XMLMarshalException errorProcessingCharacterEscapeHandler(String methodName, Object handler, Throwable nestedException) -
errorInvokingIDResolver
public static XMLMarshalException errorInvokingIDResolver(String methodName, Object resolver, Throwable nestedException) -
errorProcessingIDResolver
public static XMLMarshalException errorProcessingIDResolver(String methodName, Object resolver, Throwable nestedException) -
wrappedIDResolverWithMultiID
-
objectCycleDetected
-
unsupportedMediaTypeForPlatform
-
unmarshalFromStringException
public static XMLMarshalException unmarshalFromStringException(String systemId, Exception nestedException) -
missingIDForIDRef
-
invalidAttributeGroupName
-
nullValueNotAllowed
-