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