|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.eclipse.persistence.exceptions.EclipseLinkException org.eclipse.persistence.exceptions.JAXBException
public class JAXBException
Purpose:
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException |
---|
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException |
Constructor Summary | |
---|---|
protected |
JAXBException(java.lang.String message)
|
protected |
JAXBException(java.lang.String message,
java.lang.Exception internalException)
|
Method Summary | |
---|---|
static JAXBException |
anyAttributeOnNonMap(java.lang.String propertyName)
|
static 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 |
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 |
classNotFoundException(java.lang.String className)
|
static JAXBException |
couldNotCreateContextForXmlModel()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
couldNotCreateContextForXmlModel(java.lang.Exception ex)
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
couldNotCreateCustomizerInstance(java.lang.Exception e,
java.lang.String customizerClassName)
This exception should be used when a descriptor customizer instance cannot be created. |
static JAXBException |
couldNotInitializeDomHandlerConverter(java.lang.Exception nestedException,
java.lang.String domHandlerClassName,
java.lang.String propertyName)
This exception should be used when DomHandlerConverter initialization fails. |
static JAXBException |
couldNotLoadClassFromMetadata(java.lang.String classname)
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
couldNotUnmarshalMetadata(java.lang.Exception e)
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
enumConstantNotFound(java.lang.String name)
This exception is thrown if the user tries to get a non-existant enum constant from an enum class. |
static JAXBException |
errorCreatingDynamicJAXBContext(java.lang.Exception nestedException)
This is a general exception, thrown if a problem was encountered during DynamicJAXBContext creation. |
static JAXBException |
factoryClassWithoutFactoryMethod(java.lang.String className)
|
static JAXBException |
factoryMethodNotDeclared(java.lang.String methodName,
java.lang.String className)
|
static JAXBException |
factoryMethodOrConstructorRequired(java.lang.String className)
|
static JAXBException |
idAlreadySet(java.lang.String propertyName,
java.lang.String idPropertyName,
java.lang.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 |
incorrectKeyParameterType()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
incorrectValueParameterType()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
incorrectValueParameterTypeForOxmXmlKey()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
invalidAttributeRef(java.lang.String propertyName,
java.lang.String className)
This exception should be used when an @XmlAttributeRef or xml-attribute-ref appears on a non-DataHandler property. |
static JAXBException |
invalidCustomizerClass(java.lang.Exception e,
java.lang.String customizerClassName)
This exception would typically be thrown when a customizer class is set that is not an instance of DescriptorCustomizer. |
static JAXBException |
invalidElementRef(java.lang.String propertyName,
java.lang.String className)
|
static JAXBException |
invalidElementWrapper(java.lang.String propertyName)
|
static JAXBException |
invalidId(java.lang.String propertyName)
|
static JAXBException |
invalidIdRef(java.lang.String propertyName,
java.lang.String className)
|
static JAXBException |
invalidList(java.lang.String propertyName)
|
static JAXBException |
invalidTypeForXmlValueField(java.lang.String fieldName)
|
static JAXBException |
invalidXmlElementInXmlElementsList(java.lang.String propertyName,
java.lang.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 |
javaTypeNotAllowedInBindingsFile(java.lang.String javaTypePackage,
java.lang.String bindingsPackage)
This exception should be used when a TypeMappingInfo is specified but the Type is not set on it. |
static JAXBException |
missingPropertyInPropOrder(java.lang.String fieldName)
|
static JAXBException |
multipleAnyAttributeMapping(java.lang.String className)
|
static JAXBException |
nameCollision(java.lang.String uri,
java.lang.String name)
|
static JAXBException |
nonExistentPropertyInPropOrder(java.lang.String fieldName)
|
static JAXBException |
noObjectFactoryOrJaxbIndexInPath(java.lang.String path)
|
static JAXBException |
nullInputStream()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null InputStream parameter. |
static JAXBException |
nullMapKey()
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
nullMetadataSource(java.lang.String key)
This exception would typically be used by JAXBContextFactory during externalized metadata processing (i.e. |
static JAXBException |
nullNode()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null Node parameter. |
static JAXBException |
nullSessionName()
This exception is thrown if the user tries bootstrap from sessions.xml but provides a null sessionNames parameter. |
static JAXBException |
nullSource()
This exception is thrown if the user tries bootstrap from XML Schema but provides a null Source parameter. |
static JAXBException |
nullTypeOnTypeMappingInfo(javax.xml.namespace.QName tagName)
This exception should be used when a TypeMappingInfo is specified but the Type is not set on it. |
static JAXBException |
propertyOrFieldCannotBeXmlValue(java.lang.String fieldName)
|
static JAXBException |
propertyOrFieldShouldBeAnAttribute(java.lang.String fieldName)
|
static JAXBException |
transientInProporder(java.lang.String fieldName)
|
static JAXBException |
unsupportedNodeClass(java.lang.String className)
|
static JAXBException |
xjcBindingError()
This exception is thrown if XJC was unable to generate a CodeModel. |
static JAXBException |
xmlAnyElementAlreadySet(java.lang.String propertyName,
java.lang.String xmlAnyElementPropertyName,
java.lang.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 |
xmlValueAlreadySet(java.lang.String propertyName,
java.lang.String xmlValuePropertyName,
java.lang.String className)
This exception should be used when an attempt is made to set an XmlValue property when one has already been set. |
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 |
---|
public static final int NO_OBJECT_FACTORY_OR_JAXB_INDEX_IN_PATH
public static final int FACTORY_METHOD_OR_ZERO_ARG_CONST_REQ
public static final int FACTORY_CLASS_WITHOUT_FACTORY_METHOD
public static final int FACTORY_METHOD_NOT_DECLARED
public static final int ANY_ATTRIBUTE_ON_NON_MAP_PROPERTY
public static final int MULTIPLE_ANY_ATTRIBUTE_MAPPING
public static final int INVALID_XML_ELEMENT_REF
public static final int NAME_COLLISION
public static final int UNSUPPORTED_NODE_CLASS
public static final int TRANSIENT_IN_PROP_ORDER
public static final int XMLVALUE_ATTRIBUTE_CONFLICT
public static final int SUBCLASS_CANNOT_HAVE_XMLVALUE
public static final int NON_EXISTENT_PROPERTY_IN_PROP_ORDER
public static final int MISSING_PROPERTY_IN_PROP_ORDER
public static final int INVALID_TYPE_FOR_XMLVALUE_PROPERTY
public static final int INVALID_XML_ELEMENT_WRAPPER
public static final int INVALID_ID
public static final int INVALID_IDREF
public static final int INVALID_LIST
public static final int VALUE_PARAMETER_TYPE_INCORRECT_FOR_OXM_XML
public static final int KEY_PARAMETER_TYPE_INCORRECT
public static final int VALUE_PARAMETER_TYPE_INCORRECT
public static final int NULL_METADATA_SOURCE
public static final int NULL_MAP_KEY
public static final int COULD_NOT_LOAD_CLASS_FROM_METADATA
public static final int COULD_NOT_CREATE_CONTEXT_FOR_XML_MODEL
public static final int COULD_NOT_UNMARSHAL_METADATA
public static final int COULD_NOT_CREATE_CUSTOMIZER_INSTANCE
public static final int INVALID_CUSTOMIZER_CLASS
public static final int ID_ALREADY_SET
public static final int XMLVALUE_ALREADY_SET
public static final int XMLANYELEMENT_ALREADY_SET
public static final int COULD_NOT_INITIALIZE_DOM_HANDLER_CONVERTER
public static final int INVALID_TYPE_FOR_XMLATTRIBUTEREF_PROPERTY
public static final int INVALID_XMLELEMENT_IN_XMLELEMENTS
public static final int NULL_TYPE_ON_TYPEMAPPINGINFO
public static final int JAVATYPE_NOT_ALLOWED_IN_BINDINGS_FILE
public static final int CANNOT_CREATE_DYNAMIC_CONTEXT_FROM_CLASSES
public static final int CANNOT_INITIALIZE_FROM_NODE
public static final int ERROR_CREATING_DYNAMICJAXBCONTEXT
public static final int ENUM_CONSTANT_NOT_FOUND
public static final int NULL_SESSION_NAME
public static final int NULL_SOURCE
public static final int NULL_INPUT_STREAM
public static final int NULL_NODE
public static final int XJC_BINDING_ERROR
public static final int CLASS_NOT_FOUND_EXCEPTION
Constructor Detail |
---|
protected JAXBException(java.lang.String message)
protected JAXBException(java.lang.String message, java.lang.Exception internalException)
Method Detail |
---|
public static JAXBException noObjectFactoryOrJaxbIndexInPath(java.lang.String path)
public static JAXBException factoryMethodOrConstructorRequired(java.lang.String className)
public static JAXBException factoryClassWithoutFactoryMethod(java.lang.String className)
public static JAXBException factoryMethodNotDeclared(java.lang.String methodName, java.lang.String className)
public static JAXBException multipleAnyAttributeMapping(java.lang.String className)
public static JAXBException anyAttributeOnNonMap(java.lang.String propertyName)
public static JAXBException invalidElementRef(java.lang.String propertyName, java.lang.String className)
public static JAXBException invalidElementWrapper(java.lang.String propertyName)
public static JAXBException invalidId(java.lang.String propertyName)
public static JAXBException invalidIdRef(java.lang.String propertyName, java.lang.String className)
public static JAXBException invalidList(java.lang.String propertyName)
public static JAXBException nameCollision(java.lang.String uri, java.lang.String name)
public static JAXBException unsupportedNodeClass(java.lang.String className)
public static JAXBException transientInProporder(java.lang.String fieldName)
public static JAXBException nonExistentPropertyInPropOrder(java.lang.String fieldName)
public static JAXBException missingPropertyInPropOrder(java.lang.String fieldName)
public static JAXBException propertyOrFieldShouldBeAnAttribute(java.lang.String fieldName)
public static JAXBException propertyOrFieldCannotBeXmlValue(java.lang.String fieldName)
public static JAXBException invalidTypeForXmlValueField(java.lang.String fieldName)
public static JAXBException incorrectKeyParameterType()
public static JAXBException incorrectValueParameterType()
public static JAXBException incorrectValueParameterTypeForOxmXmlKey()
public static JAXBException nullMetadataSource(java.lang.String key)
key
-
public static JAXBException nullMapKey()
public static JAXBException couldNotLoadClassFromMetadata(java.lang.String classname)
classname
-
public static JAXBException couldNotCreateContextForXmlModel()
public static JAXBException couldNotCreateContextForXmlModel(java.lang.Exception ex)
ex
-
public static JAXBException couldNotUnmarshalMetadata(java.lang.Exception e)
e
-
public static JAXBException couldNotCreateCustomizerInstance(java.lang.Exception e, java.lang.String customizerClassName)
e
- javaClassName
- customizerClassName
-
public static JAXBException invalidCustomizerClass(java.lang.Exception e, java.lang.String customizerClassName)
e
- customizerClassName
-
public static JAXBException idAlreadySet(java.lang.String propertyName, java.lang.String idPropertyName, java.lang.String className)
propertyName
- attempting to set this property as IDidPropertyName
- existing ID propertyclassName
- class in question
public static JAXBException xmlValueAlreadySet(java.lang.String propertyName, java.lang.String xmlValuePropertyName, java.lang.String className)
propertyName
- attempting to set this property as XmlValuexmlValuePropertyName
- existing XmlValue propertyclassName
- class in question
public static JAXBException xmlAnyElementAlreadySet(java.lang.String propertyName, java.lang.String xmlAnyElementPropertyName, java.lang.String className)
propertyName
- attempting to set this property as XmlAnyElementxmlAnyElementPropertyName
- existing XmlAnyElement propertyclassName
- class in question
public static JAXBException couldNotInitializeDomHandlerConverter(java.lang.Exception nestedException, java.lang.String domHandlerClassName, java.lang.String propertyName)
nestedException
- domHandlerClassName
- propertyName
-
public static JAXBException invalidAttributeRef(java.lang.String propertyName, java.lang.String className)
propertyName
- className
-
public static JAXBException invalidXmlElementInXmlElementsList(java.lang.String propertyName, java.lang.String elementName)
propertyName
- elementName
-
public static JAXBException nullTypeOnTypeMappingInfo(javax.xml.namespace.QName tagName)
tagName
-
public static JAXBException javaTypeNotAllowedInBindingsFile(java.lang.String javaTypePackage, java.lang.String bindingsPackage)
tagName
-
public static JAXBException cannotCreateDynamicContextFromClasses()
public static JAXBException cannotInitializeFromNode()
public static JAXBException errorCreatingDynamicJAXBContext(java.lang.Exception nestedException)
public static JAXBException enumConstantNotFound(java.lang.String name)
public static JAXBException nullSessionName()
public static JAXBException nullSource()
public static JAXBException nullInputStream()
public static JAXBException nullNode()
public static JAXBException xjcBindingError()
public static JAXBException classNotFoundException(java.lang.String className)
|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |