java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.JAXBException
- All Implemented Interfaces:
- Serializable
Purpose:
 
- This class provides an implementation of EclipseLinkException specific to the EclipseLink JAXB implementation
Responsibilities:
- Return a JAXBException that can be thrown around input parameters.
- Return a JAXBException that wraps an existing exception with additional input parameters.
- Since:
- Oracle EclipseLink 1.0
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkExceptionCR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJAXBException(String message) protectedJAXBException(String message, Exception internalException) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic JAXBExceptionadapterClassCouldNotBeInstantiated(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the adapter class.static JAXBExceptionadapterClassMethodsCouldNotBeAccessed(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get the declared methods from the adapter class.static JAXBExceptionadapterClassNotLoaded(String adapterClassName, Exception ex) PUBLIC: Cause: The adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBExceptionanyAttributeOnNonMap(String propertyName) static JAXBExceptionThis exception is thrown if the user tries to create a new instance of DynamicJAXBContext using an array of actual classes.static JAXBExceptionThis exception is thrown if the user tries to create a new instance of DynamicJAXBContext using an Node, that is not an instance of either Document or Element.static JAXBExceptionstatic JAXBExceptionclassNotFoundException(String className) static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptioncouldNotCreateCustomizerInstance(Exception e, String customizerClassName) This exception should be used when a descriptor customizer instance cannot be created.static JAXBExceptioncouldNotInitializeDomHandlerConverter(Exception nestedException, String domHandlerClassName, String propertyName) This exception should be used when DomHandlerConverter initialization fails.static JAXBExceptioncouldNotLoadClassFromMetadata(String classname) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionduplicateElementName(QName qName) static JAXBExceptionduplicatePropertyName(String propertyName, String className) static JAXBExceptionenumConstantNotFound(String name) This exception is thrown if the user tries to get a non-existant enum constant from an enum class.static JAXBExceptionerrorCreatingDynamicJAXBContext(Exception nestedException) This is a general exception, thrown if a problem was encountered during DynamicJAXBContext creation.static JAXBExceptionerrorCreatingFieldAccessor(Object accessorFactory, Exception nestedException) static JAXBExceptionerrorCreatingPropertyAccessor(Object accessorFactory, Exception nestedException) static JAXBExceptionerrorInstantiatingAccessorFactory(Object factoryClass, Exception nestedException) PUBLIC: Cause: An exception occured while trying to instantiate an instance of the user specified AccessorFactorystatic JAXBExceptionerrorInvokingAccessor(Object accessor, String method, Exception nestedException) static JAXBExceptionexceptionDuringNameTransformation(String nameBeingTransformed, String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred during transformation to an xml namestatic JAXBExceptionPUBLIC: Cause: An exception occurred during schema generation.static JAXBExceptionexceptionWithNameTransformerClass(String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the transformer class.static JAXBExceptionfactoryClassWithoutFactoryMethod(String className) static JAXBExceptionfactoryMethodNotDeclared(String methodName, String className) static JAXBExceptionfactoryMethodOrConstructorRequired(String className) static JAXBExceptionidAlreadySet(String propertyName, String idPropertyName, String className) This exception should be used when an attempt is made to set an ID property when one has already been set.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionincorrectNumberOfXmlJoinNodesOnXmlElements(String propertyName, String className) PUBLIC: Cause: There is a different number of XmlElements and XmlJoinNodes entries in a given XmlElementsJoinNodes.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptioninvalidAccessorFactory(Object accessorFactoryClass, Exception nestedException) static JAXBExceptioninvalidAdapterClass(String adapterClassName) PUBLIC: Cause: The adapter class does not extend jakarta.xml.bind.annotation.adapters.XmlAdapter.static JAXBExceptioninvalidAttributeRef(String propertyName, String className) This exception should be used when an @XmlAttributeRef or xml-attribute-ref appears on a non-DataHandler property.static JAXBExceptioninvalidCustomizerClass(Exception e, String customizerClassName) This exception would typically be thrown when a customizer class is set that is not an instance of DescriptorCustomizer.static JAXBExceptioninvalidElementRef(String propertyName, String className) static JAXBExceptioninvalidElementWrapper(String propertyName) static JAXBExceptioninvalidEnumValue(Object value, String theClassName, Exception nestedException) static JAXBExceptionstatic JAXBExceptioninvalidIdRef(String propertyName, String className) static JAXBExceptioninvalidIDREFClass(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e.static JAXBExceptioninvalidInterface(String interfaceName) static JAXBExceptioninvalidList(String propertyName) static JAXBExceptioninvalidPackageAdapterClass(String adapterClassName, String packageName) PUBLIC: Cause: The package level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBExceptioninvalidPropertyAdapterClass(String adapterClassName, String propName, String typeName) PUBLIC: Cause: The field/property level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBExceptioninvalidReferencedXmlPathOnJoin(String className, String propertyName, String referencedClassName, String referencedXmlPath) PUBLIC: Cause: No ID or Key property exists on the target class with an XPath == referencedXmlPath.static JAXBExceptioninvalidReferenceToTransientClass(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The reference class (i.e.static JAXBExceptioninvalidTypeAdapterClass(String adapterClassName, String typeName) PUBLIC: Cause: The type level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBExceptioninvalidTypeForVariableNode(String attribute, String type, String className) static JAXBExceptioninvalidTypeForXmlValueField(String fieldName, String className) static JAXBExceptioninvalidValueForObjectGraph(Object value) static JAXBExceptioninvalidXmlElementInXmlElementsList(String propertyName, String elementName) This exception should be used when XmlElements and XmlIDREF are set on a property, but one or more of the XmlElement entries in the list has a type that does not have an XmlID property.static JAXBExceptioninvalidXmlJoinNodeReferencedClass(String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e.static JAXBExceptioninvalidXmlLocation(String propertyName, String propertyType) Cause: @XmlLocation is set on a non-Locator property.static JAXBExceptioninvalidXmlPathWithAttribute(String propertyName, String className, String xpath) When the target of an XmlPaths -> XmlPath is an attribute, it must be nested, and not the root of the path.static JAXBExceptionjavaTypeNotAllowedInBindingsFile(String javaTypePackage, String bindingsPackage) This exception should be used when a TypeMappingInfo is specified but the Type is not set on it.static JAXBExceptionjsonValuePropertyRequired(Object value) PUBLIC: Cause: An exception occurred marshalling jsonstatic JAXBExceptionmissingPropertyInPropOrder(String fieldName) static JAXBExceptionmissingPropertyInPropOrder(String fieldName, String className) static JAXBExceptionmultipleAnyAttributeMapping(String className) static JAXBExceptionmultipleXmlElementRef(String propertyTypeName, String className) static JAXBExceptionmustMapToText(String propName, String typeName, String refTypeName) static JAXBExceptionnameCollision(String uri, String name) static JAXBExceptionnoKeyOrIDPropertyOnJoinTarget(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The target class has no ID or Key properties set.static JAXBExceptionnonExistentPropertyInPropOrder(String fieldName, String className) static JAXBExceptionstatic JAXBExceptionnoSuchWriteTransformationMethod(String methodName) PUBLIC: Cause: Write transformation method does not exist, or has the wrong number or type of parameters.static JAXBExceptionThis exception is thrown if the user tries bootstrap from XML Schema but provides a null InputStream parameter.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionnullMetadataSource(String key) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionnullNode()This exception is thrown if the user tries bootstrap from XML Schema but provides a null Node parameter.static JAXBExceptionThis exception is thrown if the user tries bootstrap from sessions.xml but provides a null sessionNames parameter.static JAXBExceptionThis exception is thrown if the user tries bootstrap from XML Schema but provides a null Source parameter.static JAXBExceptionnullTypeOnTypeMappingInfo(QName tagName) This exception should be used when a TypeMappingInfo is specified but the Type is not set on it.static JAXBExceptionPUBLIC: Cause: Properties passed to createDynamicFromOXM did not contain ECLIPSELINK_OXM_FILE_KEY, or was null.static JAXBExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBExceptionpropertyOrFieldCannotBeXmlValue(String fieldName, String className) static JAXBExceptionpropertyOrFieldShouldBeAnAttribute(String fieldName, String className) static JAXBExceptionreadTransformerHasBothClassAndMethod(String propertyName) PUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies both class and method.static JAXBExceptionreadTransformerHasNeitherClassNorMethod(String propertyName) PUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies neither class nor method.static JAXBExceptionsamePropertyInMultipleFiles(String propertyName, String className) static JAXBExceptiontransformerClassNotFound(String className) PUBLIC: Cause: Transformer class could not be loaded.static JAXBExceptiontransientInProporder(String fieldName, String className) static JAXBExceptionunableToLoadMetadataFromLocation(String location) static JAXBExceptionunknownPropertyForVariableNode(String propertyName, String className) static JAXBExceptionunknownTypeForVariableNode(String className) static JAXBExceptionunsupportedNodeClass(String className) static JAXBExceptionwriteTransformerHasBothClassAndMethod(String propertyName, String xmlPath) PUBLIC: Cause: WriteTransformer for the specified attribute of the specified class and specified xml-path specifies both class and method.static JAXBExceptionwriteTransformerHasNeitherClassNorMethod(String propertyName, String xmlPath) PUBLIC: Cause: WriteTransformer for the specified attribute of the specified class and specified xml-path specifies neither class nor method.static JAXBExceptionwriteTransformerHasNoXmlPath(String propertyName) PUBLIC: Cause: WriteTransformer for the specified attribute of the specified class has no xml-path specified, or the specified xml-path is invalid.static JAXBExceptionstatic JAXBExceptionThis exception is thrown if XJC was unable to generate a CodeModel.static JAXBExceptionxmlAnyElementAlreadySet(String propertyName, String xmlAnyElementPropertyName, String className) This exception should be used when an attempt is made to set an XmlAnyElement property when one has already been set.static JAXBExceptionxmlValueAlreadySet(String propertyName, String xmlValuePropertyName, String className) This exception should be used when an attempt is made to set an XmlValue property when one has already been set.static JAXBExceptionMethods inherited from class org.eclipse.persistence.exceptions.EclipseLinkExceptioncr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toStringMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
- 
Field Details- 
NO_OBJECT_FACTORY_OR_JAXB_INDEX_IN_PATHpublic static final int NO_OBJECT_FACTORY_OR_JAXB_INDEX_IN_PATH- See Also:
 
- 
FACTORY_METHOD_OR_ZERO_ARG_CONST_REQpublic static final int FACTORY_METHOD_OR_ZERO_ARG_CONST_REQ- See Also:
 
- 
FACTORY_CLASS_WITHOUT_FACTORY_METHODpublic static final int FACTORY_CLASS_WITHOUT_FACTORY_METHOD- See Also:
 
- 
FACTORY_METHOD_NOT_DECLAREDpublic static final int FACTORY_METHOD_NOT_DECLARED- See Also:
 
- 
ANY_ATTRIBUTE_ON_NON_MAP_PROPERTYpublic static final int ANY_ATTRIBUTE_ON_NON_MAP_PROPERTY- See Also:
 
- 
MULTIPLE_ANY_ATTRIBUTE_MAPPINGpublic static final int MULTIPLE_ANY_ATTRIBUTE_MAPPING- See Also:
 
- 
INVALID_XML_ELEMENT_REFpublic static final int INVALID_XML_ELEMENT_REF- See Also:
 
- 
NAME_COLLISIONpublic static final int NAME_COLLISION- See Also:
 
- 
UNSUPPORTED_NODE_CLASSpublic static final int UNSUPPORTED_NODE_CLASS- See Also:
 
- 
TRANSIENT_IN_PROP_ORDERpublic static final int TRANSIENT_IN_PROP_ORDER- See Also:
 
- 
XMLVALUE_ATTRIBUTE_CONFLICTpublic static final int XMLVALUE_ATTRIBUTE_CONFLICT- See Also:
 
- 
SUBCLASS_CANNOT_HAVE_XMLVALUEpublic static final int SUBCLASS_CANNOT_HAVE_XMLVALUE- See Also:
 
- 
NON_EXISTENT_PROPERTY_IN_PROP_ORDERpublic static final int NON_EXISTENT_PROPERTY_IN_PROP_ORDER- See Also:
 
- 
MISSING_PROPERTY_IN_PROP_ORDERpublic static final int MISSING_PROPERTY_IN_PROP_ORDER- See Also:
 
- 
INVALID_TYPE_FOR_XMLVALUE_PROPERTYpublic static final int INVALID_TYPE_FOR_XMLVALUE_PROPERTY- See Also:
 
- 
INVALID_XML_ELEMENT_WRAPPERpublic static final int INVALID_XML_ELEMENT_WRAPPER- See Also:
 
- 
INVALID_IDpublic static final int INVALID_ID- See Also:
 
- 
INVALID_IDREFpublic static final int INVALID_IDREF- See Also:
 
- 
INVALID_LISTpublic static final int INVALID_LIST- See Also:
 
- 
VALUE_PARAMETER_TYPE_INCORRECT_FOR_OXM_XMLpublic static final int VALUE_PARAMETER_TYPE_INCORRECT_FOR_OXM_XML- See Also:
 
- 
KEY_PARAMETER_TYPE_INCORRECTpublic static final int KEY_PARAMETER_TYPE_INCORRECT- See Also:
 
- 
VALUE_PARAMETER_TYPE_INCORRECTpublic static final int VALUE_PARAMETER_TYPE_INCORRECT- See Also:
 
- 
NULL_METADATA_SOURCEpublic static final int NULL_METADATA_SOURCE- See Also:
 
- 
NULL_MAP_KEYpublic static final int NULL_MAP_KEY- See Also:
 
- 
COULD_NOT_LOAD_CLASS_FROM_METADATApublic static final int COULD_NOT_LOAD_CLASS_FROM_METADATA- See Also:
 
- 
COULD_NOT_CREATE_CONTEXT_FOR_XML_MODELpublic static final int COULD_NOT_CREATE_CONTEXT_FOR_XML_MODEL- See Also:
 
- 
COULD_NOT_UNMARSHAL_METADATApublic static final int COULD_NOT_UNMARSHAL_METADATA- See Also:
 
- 
COULD_NOT_CREATE_CUSTOMIZER_INSTANCEpublic static final int COULD_NOT_CREATE_CUSTOMIZER_INSTANCE- See Also:
 
- 
INVALID_CUSTOMIZER_CLASSpublic static final int INVALID_CUSTOMIZER_CLASS- See Also:
 
- 
ID_ALREADY_SETpublic static final int ID_ALREADY_SET- See Also:
 
- 
XMLVALUE_ALREADY_SETpublic static final int XMLVALUE_ALREADY_SET- See Also:
 
- 
XMLANYELEMENT_ALREADY_SETpublic static final int XMLANYELEMENT_ALREADY_SET- See Also:
 
- 
COULD_NOT_INITIALIZE_DOM_HANDLER_CONVERTERpublic static final int COULD_NOT_INITIALIZE_DOM_HANDLER_CONVERTER- See Also:
 
- 
INVALID_TYPE_FOR_XMLATTRIBUTEREF_PROPERTYpublic static final int INVALID_TYPE_FOR_XMLATTRIBUTEREF_PROPERTY- See Also:
 
- 
INVALID_XMLELEMENT_IN_XMLELEMENTSpublic static final int INVALID_XMLELEMENT_IN_XMLELEMENTS- See Also:
 
- 
NULL_TYPE_ON_TYPEMAPPINGINFOpublic static final int NULL_TYPE_ON_TYPEMAPPINGINFO- See Also:
 
- 
JAVATYPE_NOT_ALLOWED_IN_BINDINGS_FILEpublic static final int JAVATYPE_NOT_ALLOWED_IN_BINDINGS_FILE- See Also:
 
- 
CANNOT_CREATE_DYNAMIC_CONTEXT_FROM_CLASSESpublic static final int CANNOT_CREATE_DYNAMIC_CONTEXT_FROM_CLASSES- See Also:
 
- 
CANNOT_INITIALIZE_FROM_NODEpublic static final int CANNOT_INITIALIZE_FROM_NODE- See Also:
 
- 
ERROR_CREATING_DYNAMICJAXBCONTEXTpublic static final int ERROR_CREATING_DYNAMICJAXBCONTEXT- See Also:
 
- 
ENUM_CONSTANT_NOT_FOUNDpublic static final int ENUM_CONSTANT_NOT_FOUND- See Also:
 
- 
NULL_SESSION_NAMEpublic static final int NULL_SESSION_NAME- See Also:
 
- 
NULL_SOURCEpublic static final int NULL_SOURCE- See Also:
 
- 
NULL_INPUT_STREAMpublic static final int NULL_INPUT_STREAM- See Also:
 
- 
NULL_NODEpublic static final int NULL_NODE- See Also:
 
- 
XJC_BINDING_ERRORpublic static final int XJC_BINDING_ERROR- See Also:
 
- 
CLASS_NOT_FOUND_EXCEPTIONpublic static final int CLASS_NOT_FOUND_EXCEPTION- See Also:
 
- 
READ_TRANSFORMER_HAS_BOTH_CLASS_AND_METHODpublic static final int READ_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD- See Also:
 
- 
READ_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHODpublic static final int READ_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD- See Also:
 
- 
WRITE_TRANSFORMER_HAS_BOTH_CLASS_AND_METHODpublic static final int WRITE_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD- See Also:
 
- 
WRITE_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHODpublic static final int WRITE_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD- See Also:
 
- 
WRITE_TRANSFORMER_HAS_NO_XMLPATHpublic static final int WRITE_TRANSFORMER_HAS_NO_XMLPATH- See Also:
 
- 
NO_SUCH_WRITE_TRANSFORMATION_METHODpublic static final int NO_SUCH_WRITE_TRANSFORMATION_METHOD- See Also:
 
- 
TRANSFORMER_CLASS_NOT_FOUNDpublic static final int TRANSFORMER_CLASS_NOT_FOUND- See Also:
 
- 
OXM_KEY_NOT_FOUNDpublic static final int OXM_KEY_NOT_FOUND- See Also:
 
- 
INVALID_REF_CLASSpublic static final int INVALID_REF_CLASS- See Also:
 
- 
TRANSIENT_REF_CLASSpublic static final int TRANSIENT_REF_CLASS- See Also:
 
- 
NO_ID_OR_KEY_ON_JOIN_TARGETpublic static final int NO_ID_OR_KEY_ON_JOIN_TARGET- See Also:
 
- 
INVALID_REF_XML_PATHpublic static final int INVALID_REF_XML_PATH- See Also:
 
- 
INVALID_IDREF_CLASSpublic static final int INVALID_IDREF_CLASS- See Also:
 
- 
ADAPTER_CLASS_NOT_LOADEDpublic static final int ADAPTER_CLASS_NOT_LOADED- See Also:
 
- 
ADAPTER_CLASS_METHOD_EXCEPTIONpublic static final int ADAPTER_CLASS_METHOD_EXCEPTION- See Also:
 
- 
ADAPTER_CLASS_COULD_NOT_BE_INSTANTIATEDpublic static final int ADAPTER_CLASS_COULD_NOT_BE_INSTANTIATED- See Also:
 
- 
INVALID_ADAPTER_CLASSpublic static final int INVALID_ADAPTER_CLASS- See Also:
 
- 
INVALID_PACKAGE_ADAPTER_CLASSpublic static final int INVALID_PACKAGE_ADAPTER_CLASS- See Also:
 
- 
INVALID_TYPE_ADAPTER_CLASSpublic static final int INVALID_TYPE_ADAPTER_CLASS- See Also:
 
- 
INVALID_PROPERTY_ADAPTER_CLASSpublic static final int INVALID_PROPERTY_ADAPTER_CLASS- See Also:
 
- 
NULL_METADATA_FILEpublic static final int NULL_METADATA_FILE- See Also:
 
- 
BINDINGS_PKG_NOT_SETpublic static final int BINDINGS_PKG_NOT_SET- See Also:
 
- 
INCORRECT_NUMBER_OF_XMLJOINNODES_ON_XMLELEMENTSpublic static final int INCORRECT_NUMBER_OF_XMLJOINNODES_ON_XMLELEMENTS- See Also:
 
- 
INVALID_XML_PATH_ATTRIBUTEpublic static final int INVALID_XML_PATH_ATTRIBUTE- See Also:
 
- 
DUPLICATE_PROPERTY_NAMEpublic static final int DUPLICATE_PROPERTY_NAME- See Also:
 
- 
SAME_PROPERTY_IN_MULTIPLE_BINDINGS_FILESpublic static final int SAME_PROPERTY_IN_MULTIPLE_BINDINGS_FILES- See Also:
 
- 
EXCEPTION_WITH_NAME_TRANSFORMER_CLASSpublic static final int EXCEPTION_WITH_NAME_TRANSFORMER_CLASS- See Also:
 
- 
EXCEPTION_DURING_NAME_TRANSFORMATIONpublic static final int EXCEPTION_DURING_NAME_TRANSFORMATION- See Also:
 
- 
UNABLE_TO_LOAD_METADATA_FROM_LOCATIONpublic static final int UNABLE_TO_LOAD_METADATA_FROM_LOCATION- See Also:
 
- 
CANNOT_REFRESH_METADATApublic static final int CANNOT_REFRESH_METADATA- See Also:
 
- 
XJB_NOT_SOURCEpublic static final int XJB_NOT_SOURCE- See Also:
 
- 
XSD_IMPORT_NOT_SOURCEpublic static final int XSD_IMPORT_NOT_SOURCE- See Also:
 
- 
INVALID_XMLLOCATIONpublic static final int INVALID_XMLLOCATION- See Also:
 
- 
EXCEPTION_DURING_SCHEMA_GENpublic static final int EXCEPTION_DURING_SCHEMA_GEN- See Also:
 
- 
JSON_VALUE_WRAPPER_REQUIREDpublic static final int JSON_VALUE_WRAPPER_REQUIRED- See Also:
 
- 
ERROR_INSTANTIATING_ACCESSOR_FACTORYpublic static final int ERROR_INSTANTIATING_ACCESSOR_FACTORY- See Also:
 
- 
INVALID_ACCESSOR_FACTORYpublic static final int INVALID_ACCESSOR_FACTORY- See Also:
 
- 
ERROR_CREATING_FIELD_ACCESSORpublic static final int ERROR_CREATING_FIELD_ACCESSOR- See Also:
 
- 
ERROR_CREATING_PROPERTY_ACCESSORpublic static final int ERROR_CREATING_PROPERTY_ACCESSOR- See Also:
 
- 
ERROR_INVOKING_ACCESSORpublic static final int ERROR_INVOKING_ACCESSOR- See Also:
 
- 
INVALID_ENUM_VALUEpublic static final int INVALID_ENUM_VALUE- See Also:
 
- 
INVALID_INTERFACEpublic static final int INVALID_INTERFACE- See Also:
 
- 
INVALID_VALUE_FOR_OBJECT_GRAPHpublic static final int INVALID_VALUE_FOR_OBJECT_GRAPH- See Also:
 
- 
DUPLICATE_ELEMENT_NAMEpublic static final int DUPLICATE_ELEMENT_NAME- See Also:
 
- 
MULTIPLE_XMLELEMREFpublic static final int MULTIPLE_XMLELEMREF- See Also:
 
- 
UNKNOWN_TYPE_FOR_VARIABLE_MAPPINGpublic static final int UNKNOWN_TYPE_FOR_VARIABLE_MAPPING- See Also:
 
- 
UNKNOWN_PROPERTY_FOR_VARIABLE_MAPPINGpublic static final int UNKNOWN_PROPERTY_FOR_VARIABLE_MAPPING- See Also:
 
- 
INVALID_TYPE_FOR_VARIABLE_MAPPINGpublic static final int INVALID_TYPE_FOR_VARIABLE_MAPPING- See Also:
 
- 
MUST_MAP_TO_TEXTpublic static final int MUST_MAP_TO_TEXT- See Also:
 
 
- 
- 
Constructor Details- 
JAXBException
- 
JAXBException
 
- 
- 
Method Details- 
noObjectFactoryOrJaxbIndexInPath
- 
factoryMethodOrConstructorRequired
- 
factoryClassWithoutFactoryMethod
- 
factoryMethodNotDeclared
- 
multipleAnyAttributeMapping
- 
anyAttributeOnNonMap
- 
invalidElementRef
- 
invalidElementWrapper
- 
invalidId
- 
invalidIdRef
- 
invalidList
- 
nameCollision
- 
unsupportedNodeClass
- 
transientInProporder
- 
nonExistentPropertyInPropOrder
- 
missingPropertyInPropOrder
- 
missingPropertyInPropOrder
- 
propertyOrFieldShouldBeAnAttribute
- 
propertyOrFieldCannotBeXmlValue
- 
invalidTypeForXmlValueField
- 
incorrectKeyParameterTypeThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the Key parameter type of the package name to metadata source map is something other than String. We require Map<String, Source>.
- 
incorrectValueParameterTypeThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the Value parameter type (of the package name to metadata source map) is something other than Source. We require Map<String, Source>.
- 
incorrectValueParameterTypeForOxmXmlKeyThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the Value parameter type associated with the 'eclipselink-oxm-xml' Key (in the properties map) is something other than Map<String, Source>.
- 
nullMetadataSourceThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the Value (in the package name to metadata source map) is null.
- 
nullMetadataSourceThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the handle to the OXM metadata file is null.
- 
packageNotSetForBindingExceptionThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the handle to the OXM metadata file has not been passes in with an associated String (for package name) and the unmarshalled XmlBindings object does not have a package-name set.
- 
nullMapKeyThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where the Key (in the package name to metadata source map) is null.
- 
couldNotLoadClassFromMetadataThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where a class that is declared in the metadata file cannot be loaded by the classloader.
- 
couldNotCreateContextForXmlModelThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where JAXBContext creation fails for our XmlModel.
- 
couldNotCreateContextForXmlModelThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where JAXBContext creation fails for our XmlModel.
- 
couldNotUnmarshalMetadataThis exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. eclipselink-oxm.xml). This exception applies to the case where an exception occurs while unmarshalling the eclipselink metadata file.
- 
couldNotCreateCustomizerInstancepublic static JAXBException couldNotCreateCustomizerInstance(Exception e, String customizerClassName) This exception should be used when a descriptor customizer instance cannot be created.
- 
invalidCustomizerClassThis exception would typically be thrown when a customizer class is set that is not an instance of DescriptorCustomizer.
- 
idAlreadySetpublic static JAXBException idAlreadySet(String propertyName, String idPropertyName, String className) This exception should be used when an attempt is made to set an ID property when one has already been set.- Parameters:
- propertyName- attempting to set this property as ID
- idPropertyName- existing ID property
- className- class in question
 
- 
xmlValueAlreadySetpublic static JAXBException xmlValueAlreadySet(String propertyName, String xmlValuePropertyName, String className) This exception should be used when an attempt is made to set an XmlValue property when one has already been set.- Parameters:
- propertyName- attempting to set this property as XmlValue
- xmlValuePropertyName- existing XmlValue property
- className- class in question
 
- 
xmlAnyElementAlreadySetpublic static JAXBException xmlAnyElementAlreadySet(String propertyName, String xmlAnyElementPropertyName, String className) This exception should be used when an attempt is made to set an XmlAnyElement property when one has already been set.- Parameters:
- propertyName- attempting to set this property as XmlAnyElement
- xmlAnyElementPropertyName- existing XmlAnyElement property
- className- class in question
 
- 
couldNotInitializeDomHandlerConverterpublic static JAXBException couldNotInitializeDomHandlerConverter(Exception nestedException, String domHandlerClassName, String propertyName) This exception should be used when DomHandlerConverter initialization fails.
- 
invalidAttributeRefThis exception should be used when an @XmlAttributeRef or xml-attribute-ref appears on a non-DataHandler property.
- 
invalidXmlElementInXmlElementsListpublic static JAXBException invalidXmlElementInXmlElementsList(String propertyName, String elementName) This exception should be used when XmlElements and XmlIDREF are set on a property, but one or more of the XmlElement entries in the list has a type that does not have an XmlID property.
- 
nullTypeOnTypeMappingInfoThis exception should be used when a TypeMappingInfo is specified but the Type is not set on it.
- 
javaTypeNotAllowedInBindingsFilepublic static JAXBException javaTypeNotAllowedInBindingsFile(String javaTypePackage, String bindingsPackage) This exception should be used when a TypeMappingInfo is specified but the Type is not set on it.
- 
cannotCreateDynamicContextFromClassesThis exception is thrown if the user tries to create a new instance of DynamicJAXBContext using an array of actual classes.
- 
cannotInitializeFromNodeThis exception is thrown if the user tries to create a new instance of DynamicJAXBContext using an Node, that is not an instance of either Document or Element.
- 
errorCreatingDynamicJAXBContextThis is a general exception, thrown if a problem was encountered during DynamicJAXBContext creation.
- 
enumConstantNotFoundThis exception is thrown if the user tries to get a non-existant enum constant from an enum class.
- 
nullSessionNameThis exception is thrown if the user tries bootstrap from sessions.xml but provides a null sessionNames parameter.
- 
nullSourceThis exception is thrown if the user tries bootstrap from XML Schema but provides a null Source parameter.
- 
nullInputStreamThis exception is thrown if the user tries bootstrap from XML Schema but provides a null InputStream parameter.
- 
nullNodeThis exception is thrown if the user tries bootstrap from XML Schema but provides a null Node parameter.
- 
xjcBindingErrorThis exception is thrown if XJC was unable to generate a CodeModel.
- 
classNotFoundException
- 
readTransformerHasBothClassAndMethodPUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies both class and method.
- 
readTransformerHasNeitherClassNorMethodPUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies neither class nor method.
- 
writeTransformerHasBothClassAndMethodpublic static JAXBException writeTransformerHasBothClassAndMethod(String propertyName, String xmlPath) PUBLIC: Cause: WriteTransformer for the specified attribute of the specified class and specified xml-path specifies both class and method.
- 
writeTransformerHasNeitherClassNorMethodpublic static JAXBException writeTransformerHasNeitherClassNorMethod(String propertyName, String xmlPath) PUBLIC: Cause: WriteTransformer for the specified attribute of the specified class and specified xml-path specifies neither class nor method.
- 
writeTransformerHasNoXmlPathPUBLIC: Cause: WriteTransformer for the specified attribute of the specified class has no xml-path specified, or the specified xml-path is invalid.
- 
noSuchWriteTransformationMethodPUBLIC: Cause: Write transformation method does not exist, or has the wrong number or type of parameters.
- 
transformerClassNotFoundPUBLIC: Cause: Transformer class could not be loaded.
- 
oxmKeyNotFoundPUBLIC: Cause: Properties passed to createDynamicFromOXM did not contain ECLIPSELINK_OXM_FILE_KEY, or was null.
- 
invalidXmlJoinNodeReferencedClasspublic static JAXBException invalidXmlJoinNodeReferencedClass(String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e. actualType) of the Property containing the XmlJoinNodes declaration does not have an associated TypeInfo.
- 
invalidReferenceToTransientClasspublic static JAXBException invalidReferenceToTransientClass(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The reference class (i.e. actualType) of a given Property is marked transient. I.e. List<Address> addresses; where Address is marked transient.
- 
noKeyOrIDPropertyOnJoinTargetpublic static JAXBException noKeyOrIDPropertyOnJoinTarget(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The target class has no ID or Key properties set.
- 
invalidReferencedXmlPathOnJoinpublic static JAXBException invalidReferencedXmlPathOnJoin(String className, String propertyName, String referencedClassName, String referencedXmlPath) PUBLIC: Cause: No ID or Key property exists on the target class with an XPath == referencedXmlPath.
- 
invalidIDREFClasspublic static JAXBException invalidIDREFClass(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e. actualType) of the Property containing the XmlIDREF declaration does not have an associated TypeInfo.
- 
adapterClassNotLoadedPUBLIC: Cause: The adapter class set on XMLJavaTypeConverter could not be loaded. This is most likely due to an incorrect class name or the wrong classloader being set on XMLConversionManager.
- 
adapterClassMethodsCouldNotBeAccessedpublic static JAXBException adapterClassMethodsCouldNotBeAccessed(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get the declared methods from the adapter class.
- 
adapterClassCouldNotBeInstantiatedpublic static JAXBException adapterClassCouldNotBeInstantiated(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the adapter class.
- 
invalidAdapterClassPUBLIC: Cause: The adapter class does not extend jakarta.xml.bind.annotation.adapters.XmlAdapter.
- 
invalidPackageAdapterClassPUBLIC: Cause: The package level adapter class set on XMLJavaTypeConverter could not be loaded. This is most likely due to an incorrect class name or the wrong classloader being set on XMLConversionManager.- Parameters:
- adapterClassName- the name of the XmlAdapterClass
- packageName- name of the target package
 
- 
invalidTypeAdapterClassPUBLIC: Cause: The type level adapter class set on XMLJavaTypeConverter could not be loaded. This is most likely due to an incorrect class name or the wrong classloader being set on XMLConversionManager.- Parameters:
- adapterClassName- the name of the XmlAdapterClass
- typeName- name of the target type
 
- 
invalidPropertyAdapterClasspublic static JAXBException invalidPropertyAdapterClass(String adapterClassName, String propName, String typeName) PUBLIC: Cause: The field/property level adapter class set on XMLJavaTypeConverter could not be loaded. This is most likely due to an incorrect class name or the wrong classloader being set on XMLConversionManager.- Parameters:
- adapterClassName- the name of the XmlAdapterClass
- propName- the name of the field/property
- typeName- name of the owning type
 
- 
incorrectNumberOfXmlJoinNodesOnXmlElementspublic static JAXBException incorrectNumberOfXmlJoinNodesOnXmlElements(String propertyName, String className) PUBLIC: Cause: There is a different number of XmlElements and XmlJoinNodes entries in a given XmlElementsJoinNodes. There must be an equal number of each.- Parameters:
- propertyName- name of the Property containing the XmlElementsJoinNodes
- className- name of the owning class
 
- 
invalidXmlPathWithAttributepublic static JAXBException invalidXmlPathWithAttribute(String propertyName, String className, String xpath) When the target of an XmlPaths -> XmlPath is an attribute, it must be nested, and not the root of the path.- Parameters:
- propertyName- name of the Property containing the XmlPaths
- className- name of the owning class
- xpath- the offending XmlPath
 
- 
duplicatePropertyName
- 
samePropertyInMultipleFiles
- 
exceptionWithNameTransformerClasspublic static JAXBException exceptionWithNameTransformerClass(String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the transformer class.
- 
exceptionDuringNameTransformationpublic static JAXBException exceptionDuringNameTransformation(String nameBeingTransformed, String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred during transformation to an xml name
- 
unableToLoadMetadataFromLocation
- 
cannotRefreshMetadata
- 
xjbNotSource
- 
xsdImportNotSource
- 
invalidXmlLocationCause: @XmlLocation is set on a non-Locator property.
- 
exceptionDuringSchemaGenerationPUBLIC: Cause: An exception occurred during schema generation.
- 
jsonValuePropertyRequiredPUBLIC: Cause: An exception occurred marshalling json
- 
errorInstantiatingAccessorFactorypublic static JAXBException errorInstantiatingAccessorFactory(Object factoryClass, Exception nestedException) PUBLIC: Cause: An exception occured while trying to instantiate an instance of the user specified AccessorFactory
- 
invalidAccessorFactorypublic static JAXBException invalidAccessorFactory(Object accessorFactoryClass, Exception nestedException) 
- 
errorCreatingFieldAccessorpublic static JAXBException errorCreatingFieldAccessor(Object accessorFactory, Exception nestedException) 
- 
errorCreatingPropertyAccessorpublic static JAXBException errorCreatingPropertyAccessor(Object accessorFactory, Exception nestedException) 
- 
errorInvokingAccessorpublic static JAXBException errorInvokingAccessor(Object accessor, String method, Exception nestedException) 
- 
invalidEnumValuepublic static JAXBException invalidEnumValue(Object value, String theClassName, Exception nestedException) 
- 
invalidInterface
- 
invalidValueForObjectGraph
- 
duplicateElementName
- 
multipleXmlElementRef
- 
unknownTypeForVariableNode
- 
unknownPropertyForVariableNode
- 
invalidTypeForVariableNodepublic static JAXBException invalidTypeForVariableNode(String attribute, String type, String className) 
- 
mustMapToText
 
-