EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.exceptions
Class XMLMarshalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.ValidationException
                      extended by org.eclipse.persistence.exceptions.XMLMarshalException
All Implemented Interfaces:
java.io.Serializable

public class XMLMarshalException
extends ValidationException

See Also:
Serialized Form

Field Summary
static int DEFAULT_ROOT_ELEMENT_NOT_SPECIFIED
           
static int DESCRIPTOR_NOT_FOUND_IN_PROJECT
           
static int ENUM_CLASS_NOT_SPECIFIED
           
static int ERROR_INSTANTIATING_SCHEMA_PLATFORM
           
static int ERROR_INSTANTIATING_UNMAPPED_CONTENTHANDLER
           
static int ERROR_RESOLVING_XML_SCHEMA
           
static int ERROR_SETTING_SCHEMAS
           
static int FROMSTRING_METHOD_ERROR
           
static int ILLEGAL_STATE_XML_UNMARSHALLER_HANDLER
           
static int INVALID_ENUM_CLASS_SPECIFIED
           
static int INVALID_SWA_REF_ATTRIBUTE_TYPE
           
static int INVALID_XPATH_INDEX_STRING
           
static int INVALID_XPATH_STRING
           
static int MARSHAL_EXCEPTION
           
static int NAMESPACE_NOT_FOUND
           
static int NAMESPACE_RESOLVER_NOT_SPECIFIED
           
static int NO_ATTACHMENT_UNMARSHALLER_SET
           
static int NO_DESCRIPTOR_FOUND
           
static int NO_DESCRIPTOR_WITH_MATCHING_ROOT_ELEMENT
           
static int NO_ENCODER_FOR_MIME_TYPE
           
static int NULL_ARGUMENT
           
static int OBJ_NOT_FOUND_IN_CACHE
           
static int SCHEMA_REFERENCE_NOT_SET
           
static int UNKNOWN_XSI_TYPE
           
static int UNMAPPED_CONTENTHANDLER_DOESNT_IMPLEMENT
           
static int UNMARSHAL_EXCEPTION
           
static int VALIDATE_EXCEPTION
           
 
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_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_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_OVERRIDE_NOT_FOUND, EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND, EMBEDDED_ID_CLASS_HAS_NO_ATTRIBUTES, 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_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_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_CONVERTER, INVALID_MAPPING_FOR_EMBEDDED_ID, INVALID_MAPPING_FOR_STRUCT_CONVERTER, INVALID_MERGE_POLICY, INVALID_METHOD_ARGUMENTS, INVALID_NULL_METHOD_ARGUMENTS, INVALID_ORDER_BY_VALUE, INVALID_PROFILER_CLASS, INVALID_PROPERTY_FOR_CLASS, INVALID_READ_ONLY_CLASS_STRUCTURE_IN_UNIT_OF_WORK, INVALID_REFERENCE_COLUMN_NAME, 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_DESCRIPTOR, MISSING_FIELD_TYPE_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION_, MISSING_MAPPING, MISSING_TRANSFORMER_METHOD_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION, MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES, MULTIPLE_CALLBACK_METHODS_DEFINED, MULTIPLE_CLASSES_FOR_THE_SAME_DISCRIMINATOR, MULTIPLE_COPY_POLICY_ANNOTATIONS_ON_SAME_CLASS, MULTIPLE_CURSORS_NOT_SUPPORTED, MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND, MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE, MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES, MULTIPLE_UNIQUE_CONSTRAINTS_WITH_SAME_NAME_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_UNIQUE_ENTITY_NAME, NON_UNIQUE_MAPPING_FILE_NAME, 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, 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, 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
protected XMLMarshalException(java.lang.String message)
           
protected XMLMarshalException(java.lang.String message, java.lang.Exception internalException)
           
 
Method Summary
static XMLMarshalException defaultRootElementNotSpecified(XMLDescriptor descriptor)
           
static XMLMarshalException descriptorNotFoundInProject(java.lang.String className)
           
static XMLMarshalException enumClassNotSpecified()
           
static XMLMarshalException errorInstantiatingSchemaPlatform(java.lang.Exception nestedException)
           
static XMLMarshalException errorInstantiatingUnmappedContentHandler(java.lang.Exception nestedException, java.lang.String className)
           
static XMLMarshalException errorInvokingFromStringMethod(java.lang.Exception nestedException, java.lang.String className)
           
static XMLMarshalException errorResolvingXMLSchema(java.lang.Exception nestedException)
           
static XMLMarshalException errorSettingSchemas(java.lang.Exception nestedException, java.lang.Object[] schemas)
           
static XMLMarshalException illegalStateXMLUnmarshallerHandler()
           
static XMLMarshalException invalidEnumClassSpecified(java.lang.Exception nestedException, java.lang.String className)
           
static XMLMarshalException invalidSwaRefAttribute(java.lang.String attributeClassification)
           
static XMLMarshalException invalidXPathIndexString(java.lang.String xpathString)
           
static XMLMarshalException invalidXPathString(java.lang.String xpathString, java.lang.Exception nestedException)
           
static XMLMarshalException marshalException(java.lang.Exception nestedException)
           
static XMLMarshalException namespaceNotFound(java.lang.String prefix)
           
static XMLMarshalException namespaceResolverNotSpecified(java.lang.String localName)
           
static XMLMarshalException noAttachmentUnmarshallerSet(java.lang.String cid)
           
static XMLMarshalException noDescriptorFound(DatabaseMapping mapping)
           
static XMLMarshalException noDescriptorWithMatchingRootElement(java.lang.String rootElementName)
           
static XMLMarshalException noEncoderForMimeType(java.lang.String mimeType)
           
static XMLMarshalException nullArgumentException()
           
static XMLMarshalException objectNotFoundInCache(java.lang.String nodeName)
           
static XMLMarshalException schemaReferenceNotSet(XMLDescriptor descriptor)
           
static XMLMarshalException unknownXsiTypeValue(java.lang.String xsiType, DatabaseMapping mapping)
           
static XMLMarshalException unmappedContentHandlerDoesntImplement(java.lang.Exception nestedException, java.lang.String className)
           
static XMLMarshalException unmarshalException()
           
static XMLMarshalException unmarshalException(java.lang.Exception nestedException)
           
static XMLMarshalException validateException(java.lang.Exception nestedException)
           
 
Methods inherited from class org.eclipse.persistence.exceptions.ValidationException
alreadyLoggedIn, cacheExpiryAndExpiryTimeOfDayBothSpecified, cacheNotSupportedWithEmbeddable, cannotAcquireClientSessionFromSession, cannotAcquireDataSource, cannotAcquireHistoricalSession, cannotAddDescriptorsToSessionBroker, 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, converterNotFound, copyPolicyMustSpecifyEitherMethodOrWorkingCopyMethod, couldNotBindJndi, couldNotFindDriverClass, couldNotFindMapKey, createPlatformDefaultSequenceUndefined, currentLoaderNotValid, defaultSequenceNameAlreadyUsedBySequence, descriptorMustBeNotInitialized, duplicatePartitionValue, ejbCannotLoadRemoteClass, ejbContainerExceptionRaised, ejbDescriptorNotFoundInSession, ejbFinderException, ejbInvalidHomeInterfaceClass, ejbInvalidPlatformClass, ejbInvalidProjectClass, ejbInvalidSessionTypeClass, ejbMustBeInTransaction, ejbPrimaryKeyReflectionException, ejbSessionTypeClassNotFound, embeddableAssociationOverrideNotFound, embeddableAttributeOverrideNotFound, embeddedIdAndIdAnnotationFound, embeddedIdHasNoAttributes, entityClassNotFound, errorClosingPersistenceXML, errorDecryptingPassword, 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, incorrectLoginInstanceProvided, instantiatingValueholderWithNullSession, invalidAssociationOverrideReferenceColumnName, invalidAttributeOverrideName, invalidAttributeTypeForOrderColumn, invalidBooleanValueForAddingNamedQueries, invalidBooleanValueForEnableStatmentsCached, invalidBooleanValueForProperty, 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, invalidMappingForConverter, invalidMappingForEmbeddedId, invalidMappingForStructConverter, invalidMergePolicy, invalidMethodArguments, invalidNullMethodArguments, invalidOrderByValue, invalidProfilerClass, invalidPropertyForClass, invalidReferenceColumnName, 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, missingDescriptor, missingFieldTypeForDDLGenerationOfClassTransformation, missingMappingForAttribute, missingTransformerMethodForDDLGenerationOfClassTransformation, multipleClassesForTheSameDiscriminator, multipleCopyPolicyAnnotationsOnSameClass, multipleCursorsNotSupported, multipleEmbeddedIdAnnotationsFound, multipleLifecycleCallbackMethodsForSameLifecycleEvent, multipleObjectValuesForDataValue, multipleUniqueConstraintsWithSameNameSpecified, nestedUOWNotSupportedForAttributeTracking, nestedUOWNotSupportedForModifyAllQuery, noAttributeTypeSpecification, noConverterDataTypeSpecified, noConverterObjectTypeSpecified, noCorrespondingSetterMethodDefined, noMappedByAttributeFound, nonEntityTargetInRelationship, nonUniqueEntityName, nonUniqueMappingFileName, noPrimaryKeyAnnotationsFound, noPropertiesFileFound, noSessionFound, noSessionRegisteredForClass, noSessionRegisteredForName, noSessionsXMLFound, noTablesToCreate, 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, startIndexOutOfRange, stopIndexOutOfRange, tableGeneratorUsingAReservedName, twoStructConvertersAddedForSameClass, unableToDetermineMapKeyClass, unableToDetermineTargetClass, unableToDetermineTargetEntity, unableToLoadClass, unfetchedAttributeNotEditable, uniDirectionalOneToManyHasJoinColumnAnnotations, unitOfWorkAfterWriteChangesFailed, unitOfWorkInTransactionCommitPending, unitOfWorkInTransactionCommitPending, unknownProxyType, unspecifiedCompositePKNotSupported, unsupportedCascadeLockingDescriptor, unsupportedCascadeLockingMapping, unsupportedCascadeLockingMappingWithCustomQuery, 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, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_XPATH_STRING

public static final int INVALID_XPATH_STRING
See Also:
Constant Field Values

INVALID_XPATH_INDEX_STRING

public static final int INVALID_XPATH_INDEX_STRING
See Also:
Constant Field Values

MARSHAL_EXCEPTION

public static final int MARSHAL_EXCEPTION
See Also:
Constant Field Values

UNMARSHAL_EXCEPTION

public static final int UNMARSHAL_EXCEPTION
See Also:
Constant Field Values

VALIDATE_EXCEPTION

public static final int VALIDATE_EXCEPTION
See Also:
Constant Field Values

DEFAULT_ROOT_ELEMENT_NOT_SPECIFIED

public static final int DEFAULT_ROOT_ELEMENT_NOT_SPECIFIED
See Also:
Constant Field Values

DESCRIPTOR_NOT_FOUND_IN_PROJECT

public static final int DESCRIPTOR_NOT_FOUND_IN_PROJECT
See Also:
Constant Field Values

NO_DESCRIPTOR_WITH_MATCHING_ROOT_ELEMENT

public static final int NO_DESCRIPTOR_WITH_MATCHING_ROOT_ELEMENT
See Also:
Constant Field Values

SCHEMA_REFERENCE_NOT_SET

public static final int SCHEMA_REFERENCE_NOT_SET
See Also:
Constant Field Values

NULL_ARGUMENT

public static final int NULL_ARGUMENT
See Also:
Constant Field Values

ERROR_RESOLVING_XML_SCHEMA

public static final int ERROR_RESOLVING_XML_SCHEMA
See Also:
Constant Field Values

ERROR_SETTING_SCHEMAS

public static final int ERROR_SETTING_SCHEMAS
See Also:
Constant Field Values

ERROR_INSTANTIATING_SCHEMA_PLATFORM

public static final int ERROR_INSTANTIATING_SCHEMA_PLATFORM
See Also:
Constant Field Values

NAMESPACE_RESOLVER_NOT_SPECIFIED

public static final int NAMESPACE_RESOLVER_NOT_SPECIFIED
See Also:
Constant Field Values

NAMESPACE_NOT_FOUND

public static final int NAMESPACE_NOT_FOUND
See Also:
Constant Field Values

ENUM_CLASS_NOT_SPECIFIED

public static final int ENUM_CLASS_NOT_SPECIFIED
See Also:
Constant Field Values

FROMSTRING_METHOD_ERROR

public static final int FROMSTRING_METHOD_ERROR
See Also:
Constant Field Values

INVALID_ENUM_CLASS_SPECIFIED

public static final int INVALID_ENUM_CLASS_SPECIFIED
See Also:
Constant Field Values

ILLEGAL_STATE_XML_UNMARSHALLER_HANDLER

public static final int ILLEGAL_STATE_XML_UNMARSHALLER_HANDLER
See Also:
Constant Field Values

INVALID_SWA_REF_ATTRIBUTE_TYPE

public static final int INVALID_SWA_REF_ATTRIBUTE_TYPE
See Also:
Constant Field Values

NO_ENCODER_FOR_MIME_TYPE

public static final int NO_ENCODER_FOR_MIME_TYPE
See Also:
Constant Field Values

NO_DESCRIPTOR_FOUND

public static final int NO_DESCRIPTOR_FOUND
See Also:
Constant Field Values

ERROR_INSTANTIATING_UNMAPPED_CONTENTHANDLER

public static final int ERROR_INSTANTIATING_UNMAPPED_CONTENTHANDLER
See Also:
Constant Field Values

UNMAPPED_CONTENTHANDLER_DOESNT_IMPLEMENT

public static final int UNMAPPED_CONTENTHANDLER_DOESNT_IMPLEMENT
See Also:
Constant Field Values

OBJ_NOT_FOUND_IN_CACHE

public static final int OBJ_NOT_FOUND_IN_CACHE
See Also:
Constant Field Values

NO_ATTACHMENT_UNMARSHALLER_SET

public static final int NO_ATTACHMENT_UNMARSHALLER_SET
See Also:
Constant Field Values

UNKNOWN_XSI_TYPE

public static final int UNKNOWN_XSI_TYPE
See Also:
Constant Field Values
Constructor Detail

XMLMarshalException

protected XMLMarshalException(java.lang.String message)

XMLMarshalException

protected XMLMarshalException(java.lang.String message,
                              java.lang.Exception internalException)
Method Detail

invalidXPathString

public static XMLMarshalException invalidXPathString(java.lang.String xpathString,
                                                     java.lang.Exception nestedException)

invalidXPathIndexString

public static XMLMarshalException invalidXPathIndexString(java.lang.String xpathString)

marshalException

public static XMLMarshalException marshalException(java.lang.Exception nestedException)

unmarshalException

public static XMLMarshalException unmarshalException()

unmarshalException

public static XMLMarshalException unmarshalException(java.lang.Exception nestedException)

validateException

public static XMLMarshalException validateException(java.lang.Exception nestedException)

defaultRootElementNotSpecified

public static XMLMarshalException defaultRootElementNotSpecified(XMLDescriptor descriptor)

descriptorNotFoundInProject

public static XMLMarshalException descriptorNotFoundInProject(java.lang.String className)

noDescriptorWithMatchingRootElement

public static XMLMarshalException noDescriptorWithMatchingRootElement(java.lang.String rootElementName)

schemaReferenceNotSet

public static XMLMarshalException schemaReferenceNotSet(XMLDescriptor descriptor)

nullArgumentException

public static XMLMarshalException nullArgumentException()

errorResolvingXMLSchema

public static XMLMarshalException errorResolvingXMLSchema(java.lang.Exception nestedException)

errorSettingSchemas

public static XMLMarshalException errorSettingSchemas(java.lang.Exception nestedException,
                                                      java.lang.Object[] schemas)

errorInstantiatingSchemaPlatform

public static XMLMarshalException errorInstantiatingSchemaPlatform(java.lang.Exception nestedException)

namespaceResolverNotSpecified

public static XMLMarshalException namespaceResolverNotSpecified(java.lang.String localName)

namespaceNotFound

public static XMLMarshalException namespaceNotFound(java.lang.String prefix)

enumClassNotSpecified

public static XMLMarshalException enumClassNotSpecified()

errorInvokingFromStringMethod

public static XMLMarshalException errorInvokingFromStringMethod(java.lang.Exception nestedException,
                                                                java.lang.String className)

invalidEnumClassSpecified

public static XMLMarshalException invalidEnumClassSpecified(java.lang.Exception nestedException,
                                                            java.lang.String className)

illegalStateXMLUnmarshallerHandler

public static XMLMarshalException illegalStateXMLUnmarshallerHandler()

invalidSwaRefAttribute

public static XMLMarshalException invalidSwaRefAttribute(java.lang.String attributeClassification)

noEncoderForMimeType

public static XMLMarshalException noEncoderForMimeType(java.lang.String mimeType)

noDescriptorFound

public static XMLMarshalException noDescriptorFound(DatabaseMapping mapping)

errorInstantiatingUnmappedContentHandler

public static XMLMarshalException errorInstantiatingUnmappedContentHandler(java.lang.Exception nestedException,
                                                                           java.lang.String className)

unmappedContentHandlerDoesntImplement

public static XMLMarshalException unmappedContentHandlerDoesntImplement(java.lang.Exception nestedException,
                                                                        java.lang.String className)

objectNotFoundInCache

public static XMLMarshalException objectNotFoundInCache(java.lang.String nodeName)

noAttachmentUnmarshallerSet

public static XMLMarshalException noAttachmentUnmarshallerSet(java.lang.String cid)

unknownXsiTypeValue

public static XMLMarshalException unknownXsiTypeValue(java.lang.String xsiType,
                                                      DatabaseMapping mapping)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference