Uses of Class
org.eclipse.persistence.exceptions.JAXBException
Package
Description
-
Uses of JAXBException in org.eclipse.persistence.exceptions
Modifier and TypeMethodDescriptionstatic JAXBException
JAXBException.adapterClassCouldNotBeInstantiated
(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the adapter class.static JAXBException
JAXBException.adapterClassMethodsCouldNotBeAccessed
(String adapterClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get the declared methods from the adapter class.static JAXBException
JAXBException.adapterClassNotLoaded
(String adapterClassName, Exception ex) PUBLIC: Cause: The adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBException
JAXBException.anyAttributeOnNonMap
(String propertyName) static JAXBException
JAXBException.cannotCreateDynamicContextFromClasses()
This exception is thrown if the user tries to create a new instance of DynamicJAXBContext using an array of actual classes.static JAXBException
JAXBException.cannotInitializeFromNode()
This 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 JAXBException
JAXBException.cannotRefreshMetadata()
static JAXBException
JAXBException.classNotFoundException
(String className) static JAXBException
JAXBException.couldNotCreateContextForXmlModel()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.couldNotCreateContextForXmlModel
(Exception ex) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.couldNotCreateCustomizerInstance
(Exception e, String customizerClassName) This exception should be used when a descriptor customizer instance cannot be created.static JAXBException
JAXBException.couldNotInitializeDomHandlerConverter
(Exception nestedException, String domHandlerClassName, String propertyName) This exception should be used when DomHandlerConverter initialization fails.static JAXBException
JAXBException.couldNotLoadClassFromMetadata
(String classname) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.couldNotUnmarshalMetadata
(Exception e) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.duplicateElementName
(QName qName) static JAXBException
JAXBException.duplicatePropertyName
(String propertyName, String className) static JAXBException
JAXBException.enumConstantNotFound
(String name) This exception is thrown if the user tries to get a non-existant enum constant from an enum class.static JAXBException
JAXBException.errorCreatingDynamicJAXBContext
(Exception nestedException) This is a general exception, thrown if a problem was encountered during DynamicJAXBContext creation.static JAXBException
JAXBException.errorCreatingFieldAccessor
(Object accessorFactory, Exception nestedException) static JAXBException
JAXBException.errorCreatingPropertyAccessor
(Object accessorFactory, Exception nestedException) static JAXBException
JAXBException.errorInstantiatingAccessorFactory
(Object factoryClass, Exception nestedException) PUBLIC: Cause: An exception occured while trying to instantiate an instance of the user specified AccessorFactorystatic JAXBException
JAXBException.errorInvokingAccessor
(Object accessor, String method, Exception nestedException) static JAXBException
JAXBException.exceptionDuringNameTransformation
(String nameBeingTransformed, String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred during transformation to an xml namestatic JAXBException
JAXBException.exceptionDuringSchemaGeneration
(Exception ex) PUBLIC: Cause: An exception occurred during schema generation.static JAXBException
JAXBException.exceptionWithNameTransformerClass
(String nametransformerClassName, Exception ex) PUBLIC: Cause: An exception occurred while attempting to get a new instance of the transformer class.static JAXBException
JAXBException.factoryClassWithoutFactoryMethod
(String className) static JAXBException
JAXBException.factoryMethodNotDeclared
(String methodName, String className) static JAXBException
JAXBException.factoryMethodOrConstructorRequired
(String className) static JAXBException
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.static JAXBException
JAXBException.incorrectKeyParameterType()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.incorrectNumberOfXmlJoinNodesOnXmlElements
(String propertyName, String className) PUBLIC: Cause: There is a different number of XmlElements and XmlJoinNodes entries in a given XmlElementsJoinNodes.static JAXBException
JAXBException.incorrectValueParameterType()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.incorrectValueParameterTypeForOxmXmlKey()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.invalidAccessorFactory
(Object accessorFactoryClass, Exception nestedException) static JAXBException
JAXBException.invalidAdapterClass
(String adapterClassName) PUBLIC: Cause: The adapter class does not extend jakarta.xml.bind.annotation.adapters.XmlAdapter.static JAXBException
JAXBException.invalidAttributeRef
(String propertyName, String className) This exception should be used when an @XmlAttributeRef or xml-attribute-ref appears on a non-DataHandler property.static JAXBException
JAXBException.invalidCustomizerClass
(Exception e, String customizerClassName) This exception would typically be thrown when a customizer class is set that is not an instance of DescriptorCustomizer.static JAXBException
JAXBException.invalidElementRef
(String propertyName, String className) static JAXBException
JAXBException.invalidElementWrapper
(String propertyName) static JAXBException
JAXBException.invalidEnumValue
(Object value, String theClassName, Exception nestedException) static JAXBException
static JAXBException
JAXBException.invalidIdRef
(String propertyName, String className) static JAXBException
JAXBException.invalidIDREFClass
(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e.static JAXBException
JAXBException.invalidInterface
(String interfaceName) static JAXBException
JAXBException.invalidList
(String propertyName) static JAXBException
JAXBException.invalidPackageAdapterClass
(String adapterClassName, String packageName) PUBLIC: Cause: The package level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBException
JAXBException.invalidPropertyAdapterClass
(String adapterClassName, String propName, String typeName) PUBLIC: Cause: The field/property level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBException
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.static JAXBException
JAXBException.invalidReferenceToTransientClass
(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The reference class (i.e.static JAXBException
JAXBException.invalidTypeAdapterClass
(String adapterClassName, String typeName) PUBLIC: Cause: The type level adapter class set on XMLJavaTypeConverter could not be loaded.static JAXBException
JAXBException.invalidTypeForVariableNode
(String attribute, String type, String className) static JAXBException
JAXBException.invalidTypeForXmlValueField
(String fieldName, String className) static JAXBException
JAXBException.invalidValueForObjectGraph
(Object value) static JAXBException
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.static JAXBException
JAXBException.invalidXmlJoinNodeReferencedClass
(String propertyName, String referencedClassName) PUBLIC: Cause: The referenced class (i.e.static JAXBException
JAXBException.invalidXmlLocation
(String propertyName, String propertyType) Cause: @XmlLocation is set on a non-Locator property.static JAXBException
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.static JAXBException
JAXBException.javaTypeNotAllowedInBindingsFile
(String javaTypePackage, String bindingsPackage) This exception should be used when a TypeMappingInfo is specified but the Type is not set on it.static JAXBException
JAXBException.jsonValuePropertyRequired
(Object value) PUBLIC: Cause: An exception occurred marshalling jsonstatic JAXBException
JAXBException.missingPropertyInPropOrder
(String fieldName) static JAXBException
JAXBException.missingPropertyInPropOrder
(String fieldName, String className) static JAXBException
JAXBException.multipleAnyAttributeMapping
(String className) static JAXBException
JAXBException.multipleXmlElementRef
(String propertyTypeName, String className) static JAXBException
JAXBException.mustMapToText
(String propName, String typeName, String refTypeName) static JAXBException
JAXBException.nameCollision
(String uri, String name) static JAXBException
JAXBException.noKeyOrIDPropertyOnJoinTarget
(String className, String propertyName, String referencedClassName) PUBLIC: Cause: The target class has no ID or Key properties set.static JAXBException
JAXBException.nonExistentPropertyInPropOrder
(String fieldName, String className) static JAXBException
JAXBException.noObjectFactoryOrJaxbIndexInPath
(String path) static JAXBException
JAXBException.noSuchWriteTransformationMethod
(String methodName) PUBLIC: Cause: Write transformation method does not exist, or has the wrong number or type of parameters.static JAXBException
JAXBException.nullInputStream()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null InputStream parameter.static JAXBException
JAXBException.nullMapKey()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.nullMetadataSource()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.nullMetadataSource
(String key) This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.nullNode()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null Node parameter.static JAXBException
JAXBException.nullSessionName()
This exception is thrown if the user tries bootstrap from sessions.xml but provides a null sessionNames parameter.static JAXBException
JAXBException.nullSource()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null Source parameter.static JAXBException
JAXBException.nullTypeOnTypeMappingInfo
(QName tagName) This exception should be used when a TypeMappingInfo is specified but the Type is not set on it.static JAXBException
JAXBException.oxmKeyNotFound()
PUBLIC: Cause: Properties passed to createDynamicFromOXM did not contain ECLIPSELINK_OXM_FILE_KEY, or was null.static JAXBException
JAXBException.packageNotSetForBindingException()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e.static JAXBException
JAXBException.propertyOrFieldCannotBeXmlValue
(String fieldName, String className) static JAXBException
JAXBException.propertyOrFieldShouldBeAnAttribute
(String fieldName, String className) static JAXBException
JAXBException.readTransformerHasBothClassAndMethod
(String propertyName) PUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies both class and method.static JAXBException
JAXBException.readTransformerHasNeitherClassNorMethod
(String propertyName) PUBLIC: Cause: ReadTransformer for the specified attribute of the specified class specifies neither class nor method.static JAXBException
JAXBException.samePropertyInMultipleFiles
(String propertyName, String className) static JAXBException
JAXBException.transformerClassNotFound
(String className) PUBLIC: Cause: Transformer class could not be loaded.static JAXBException
JAXBException.transientInProporder
(String fieldName, String className) static JAXBException
JAXBException.unableToLoadMetadataFromLocation
(String location) static JAXBException
JAXBException.unknownPropertyForVariableNode
(String propertyName, String className) static JAXBException
JAXBException.unknownTypeForVariableNode
(String className) static JAXBException
JAXBException.unsupportedNodeClass
(String className) static JAXBException
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.static JAXBException
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.static JAXBException
JAXBException.writeTransformerHasNoXmlPath
(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 JAXBException
JAXBException.xjbNotSource()
static JAXBException
JAXBException.xjcBindingError()
This exception is thrown if XJC was unable to generate a CodeModel.static JAXBException
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.static JAXBException
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.static JAXBException
JAXBException.xsdImportNotSource()
-
Uses of JAXBException in org.eclipse.persistence.jaxb.compiler.builder.helper
Modifier and TypeMethodDescriptionTransformerReflectionHelper.getReturnTypeForWriteTransformationMethod
(String methodName, JavaClass writerClass) TransformerReflectionHelper.getReturnTypeForWriteTransformationMethodTransformer
(JavaClass writerClass)