public class SDOException extends EclipseLinkException
Responsibilities:
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
protected |
SDOException(java.lang.String message) |
protected |
SDOException(java.lang.String message,
java.lang.Exception internalException) |
Modifier and Type | Method and Description |
---|---|
static SDOException |
attemptToResetApplicationResolver() |
static SDOException |
cannotPerformOperationOnNullArgument(java.lang.String methodName)
INTERNAL:
Exception when trying to perform an operation with a null argument
|
static SDOException |
cannotPerformOperationOnProperty(java.lang.String propertyName,
java.lang.String path)
INTERNAL:
Exception when trying to set a property via path based access.
|
static SDOException |
cannotPerformOperationWithNullInputParameter(java.lang.String operation,
java.lang.String parameter)
INTERNAL:
Exception trying to call a method with a null input parameter
|
static SDOException |
classNotFound(java.lang.Exception nestedException,
java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception trying to load the instance class for a given type
|
static SDOException |
conversionError(java.lang.Exception e)
INTERNAL:
Exception when trying to set a property to value that is an unsupported conversion
|
static SDOException |
dataObjectNotFromHelperContext()
INTERNAL:
Exception trying to marshal a dataobject from a different HelperContext
|
static SDOException |
errorAccessingExternalizableDelegator(java.lang.String fieldName,
java.lang.Exception nestedException)
INTERNAL:
|
static SDOException |
errorCreatingDataObjectForClass(java.lang.Exception nestedException,
java.lang.String className,
java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception trying to create a dataObject with a type with the given interface
|
static SDOException |
errorCreatingDataObjectForType(java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception trying to create a dataObject with a type with the given uri and name
|
static SDOException |
errorCreatingWLSInitialContext(java.lang.Exception nestedException)
INTERNAL:
Exception when acquiring the SDOHelperContext cache key for WLS.
|
static SDOException |
errorDefiningPropertyInvalidName(java.lang.String name)
INTERNAL:
Exception trying to create a type with property of invalid name.
|
static SDOException |
errorDefiningType()
INTERNAL:
Exception trying to define a type
|
static SDOException |
errorDefiningTypeInvalidName(java.lang.String name)
INTERNAL:
Exception trying to create a type with invalid name.
|
static SDOException |
errorDefiningTypeNoName()
INTERNAL:
Exception trying to create a type without a name
|
static SDOException |
errorGettingWLSObjectName(java.lang.String objectName,
java.lang.Exception nestedException)
INTERNAL:
Exception when acquiring the SDOHelperContext cache key for WLS.
|
static SDOException |
errorInvokingWLSMethodReflectively(java.lang.String methodName,
java.lang.String theClass,
java.lang.Exception nestedException)
INTERNAL:
Exception when acquiring the SDOHelperContext cache key for WLS.
|
static SDOException |
errorPerformingWLSLookup(java.lang.String failedLookup,
java.lang.Exception nestedException)
INTERNAL:
Exception when acquiring the SDOHelperContext cache key for WLS.
|
static SDOException |
errorProcessingImport(java.lang.String schemaLocation,
java.lang.String namespace,
java.lang.Exception nestedException)
INTERNAL:
Exception when processing an import during xsdhelper.define
|
static SDOException |
errorProcessingInclude(java.lang.String schemaLocation,
java.lang.Exception nestedException)
INTERNAL:
Exception when processing an include during xsdhelper.define
|
static SDOException |
errorProcessingXPath(java.lang.String xpath)
INTERNAL:
Exception processing an xpath during xmlhelper.load
|
static SDOException |
errorResolvingSchema(java.lang.Exception nestedException) |
static SDOException |
foundSimpleValueForNonDataTypeProperty(java.lang.String propertyName)
INTERNAL:
Exception when the value should be a dataObject and it's not
|
static SDOException |
globalPropertyNotFound()
INTERNAL:
Exception when trying to find a global property during an unmarshal
|
static SDOException |
invalidIndex(java.lang.IndexOutOfBoundsException nestedException,
int index)
INTERNAL:
Exception trying to pass an invalid index to a method
|
static SDOException |
invalidPropertyValue(java.lang.String property,
java.lang.String type,
java.lang.String valueType,
java.lang.String value,
ConversionException coe)
INTERNAL: Exception trying to call a method with a null input parameter
|
static SDOException |
ioExceptionOccurred(java.io.IOException nestedException)
INTERNAL:
Exception when an ioException happens
|
static SDOException |
missingRefAttribute()
INTERNAL:
Exception when an sdo:ref attribute is missing during xmlhelper.load
|
static SDOException |
noAppInfoForNull()
INTERNAL:
Exception trying to lookup an appinfo with a null property or type
|
static SDOException |
noConstructorWithString(java.lang.Exception nestedException,
java.lang.String className)
INTERNAL:
thrown from InstanceClassConverter
|
static SDOException |
noTargetIdSpecified(java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception when building an ObjectReferenceMapping and referenced object does not have an id property
|
static SDOException |
noTypeSpecifiedForProperty(java.lang.String propertyName)
INTERNAL:
Exception when a property does not have a type specified
|
static SDOException |
oldSequenceNotFound()
INTERNAL:
Exception when old sequence is not found in the changesummary
|
static SDOException |
optionsMustBeADataObject(java.lang.Exception nestedException,
java.lang.String uri,
java.lang.String name)
INTERNAL:
thrown from SDOXMLHelperDelegate
|
static SDOException |
prefixUsedButNotDefined(java.lang.String prefix)
INTERNAL:
thrown from SDOTypesGenerator
|
static SDOException |
propertyNotFoundAtIndex(java.lang.Exception e,
int propIndex)
INTERNAL:
Exception when trying to find a property at an invalid index
|
static SDOException |
propertyTypeAnnotationTargetCannotBeDataTypeTrue(java.lang.String targetTypeName,
java.lang.String sourcePropertyName)
INTERNAL:
Exception when trying to resolve an sdo xml [propertyType] annotation on a target Type of dataType==true.
|
static SDOException |
referencedPropertyNotFound(java.lang.String uri,
java.lang.String localName)
INTERNAL:
Exception when trying to find a referenced property during xsdhelper.define
|
static SDOException |
sdoJaxbErrorCreatingJAXBUnmarshaller(java.lang.Exception jaxbException) |
static SDOException |
sdoJaxbNoDescriptorForType(javax.xml.namespace.QName sdoQName,
javax.xml.namespace.QName xmlQName) |
static SDOException |
sdoJaxbNoMappingForProperty(java.lang.String propertyName,
java.lang.String xPath) |
static SDOException |
sdoJaxbNoSchemaContext(java.lang.Class clazz) |
static SDOException |
sdoJaxbNoSchemaReference(java.lang.Class clazz) |
static SDOException |
sdoJaxbNoTypeForClass(java.lang.Class clazz) |
static SDOException |
sdoJaxbNoTypeForClassBySchemaContext(java.lang.Class clazz,
javax.xml.namespace.QName schemaContext) |
static SDOException |
sequenceAttributePropertyNotSupported(java.lang.String settingPropertyName)
INTERNAL:
Error when we attempt to add an attribute property to a sequence
|
static SDOException |
sequenceDataObjectInstanceFieldIsNull()
INTERNAL:
Error passing in a null dataObject into the sequence constructor
|
static SDOException |
sequenceDuplicateSettingNotSupportedForComplexSingleObject(int index,
java.lang.String settingPropertyName)
INTERNAL:
Return an exception when attempting to add a setting to a sequene that already has
an existing entry.
|
static SDOException |
sequenceNotFoundForPath(java.lang.String path)
INTERNAL:
Error when we attempt find a sequence by path
|
static SDOException |
sequenceNotSupportedForProperty(java.lang.String propertyName)
INTERNAL:
Error passing in a null dataObject into the sequence constructor
|
static SDOException |
sequenceNullOnSequencedDataObject()
INTERNAL:
Exception when sequence is null on a dataObject with sequenced set to true
|
static SDOException |
typeCannotBeOpenAndDataType(java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception trying to set a type to be both open and dataType
|
static SDOException |
typeNotFound(java.lang.String uri,
java.lang.String name)
INTERNAL:
Exception trying to lookup a type with the given uri and name
|
static SDOException |
typeNotFoundForInterface(java.lang.String className,
boolean loadersAreRelated)
INTERNAL:
Exception trying to lookup a type with the given interface
|
static SDOException |
typePropertyMustBeAType(java.lang.Exception nestedException)
INTERNAL:
thrown from SDOXMLHelperDelegate
|
static SDOException |
typeReferencedButNotDefined(java.lang.String namespaceUri,
java.lang.String typeName) |
static SDOException |
unableToMapDataHandlerDueToMissingDependency(java.lang.String propertyName,
java.lang.String typeName) |
static SDOException |
wrongValueForProperty(java.lang.String typeUri,
java.lang.String typeName,
java.lang.Class valueClass)
INTERNAL:
Exception when trying to set a property to value that is an unsupported conversion
|
static SDOException |
xmlMarshalExceptionOccurred(XMLMarshalException nestedException,
java.lang.String rootElementURI,
java.lang.String rootElementName)
INTERNAL:
Exception when an XMLMarshalException happens
|
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int NO_ID_SPECIFIED
public static final int ERROR_PROCESSING_IMPORT
public static final int ERROR_PROCESSING_INCLUDE
public static final int REFERENCED_PROPERTY_NOT_FOUND
public static final int OLD_SEQUENCE_NOT_FOUND
public static final int FOUND_SIMPLE_VALUE_FOR_FOR_NON_DATATYPE_PROPERTY
public static final int SEQUENCE_NULL_ON_SEQUENCED_DATAOBJECT
public static final int NO_TYPE_SPECIFIED_FOR_PROPERTY
public static final int IO_EXCEPTION_OCCURRED
public static final int TYPE_NOT_FOUND
public static final int TYPE_NOT_FOUND_FOR_INTERFACE
public static final int ERROR_CREATING_DATAOBJECT_FOR_TYPE
public static final int ERROR_CREATING_DATAOBJECT_FOR_CLASS
public static final int NO_APP_INFO_FOR_NULL
public static final int ERROR_DEFINING_TYPE
public static final int ERROR_DEFINING_TYPE_NO_NAME
public static final int MISSING_REF_ATTRIBUTE
public static final int ERROR_PROCESSING_XPATH
public static final int SEQUENCE_DUPLICATE_ADD_NOT_SUPPORTED
public static final int SEQUENCE_ERROR_PROPERTY_IS_ATTRIBUTE
public static final int SEQUENCE_ERROR_NO_PATH_FOUND
public static final int SEQUENCE_ERROR_DATAOBJECT_IS_NULL
public static final int SEQUENCE_NOT_SUPPORTED_FOR_PROPERTY
public static final int WRONG_VALUE_FOR_PROPERTY
public static final int CONVERSION_ERROR
public static final int PROPERTY_NOT_FOUND_AT_INDEX
public static final int CANNOT_PERFORM_OPERATION_ON_NULL_ARGUMENT
public static final int CLASS_NOT_FOUND
public static final int TYPE_CANNOT_BE_OPEN_AND_DATATYPE
public static final int INVALID_INDEX
public static final int JAVA_CLASS_INVOKING_ERROR
public static final int CANNOT_SET_PROPERTY_TYPE_ANNOTATION_IF_TARGET_DATATYPE_TRUE
public static final int XMLMARSHAL_EXCEPTION_OCCURRED
public static final int TYPE_REFERENCED_BUT_NEVER_DEFINED
public static final int OPTIONS_MUST_BE_A_DATAOBJECT
public static final int TYPE_PROPERTY_MUST_BE_A_TYPE
public static final int GLOBAL_PROPERTY_NOT_FOUND
public static final int PREFIX_USED_BUT_NOT_DEFINED
public static final int CANNOT_PERFORM_OPERATION_ON_PROPERTY
public static final int ERROR_ACCESSING_EXTERNALIZABLEDELEGATOR
public static final int CANNOT_PERFORM_OP_WITH_NULL_PARAM
public static final int INVALID_PROPERTY_VALUE
public static final int ERROR_PERFORMING_WLS_LOOKUP
public static final int ERROR_MAKING_WLS_REFLECTIVE_CALL
public static final int ERROR_GETTING_OBJECTNAME
public static final int ERROR_CREATING_INITIAL_CONTEXT
public static final int SDO_JAXB_NO_DESCRIPTOR_FOR_TYPE
public static final int SDO_JAXB_NO_MAPPING_FOR_PROPERTY
public static final int SDO_JAXB_NO_TYPE_FOR_CLASS
public static final int SDO_JAXB_NO_SCHEMA_REFERENCE
public static final int SDO_JAXB_NO_SCHEMA_CONTEXT
public static final int SDO_JAXB_NO_TYPE_FOR_CLASS_BY_SCHEMA_CONTEXT
public static final int SDO_JAXB_ERROR_CREATING_JAXB_UNMARSHALLER
public static final int ERROR_RESOLVING_ENTITY
public static final int MISSING_DEPENDENCY_FOR_BINARY_MAPPING
public static final int ATTEMPT_TO_RESET_APP_RESOLVER
public static final int DATAOBJECT_FROM_DIFFERENT_HELPERCONTEXT
public static final int ERROR_DEFINING_TYPE_INVALID_NAME
public static final int ERROR_DEFINING_PROPERTY_INVALID_NAME
protected SDOException(java.lang.String message)
protected SDOException(java.lang.String message, java.lang.Exception internalException)
public static SDOException errorPerformingWLSLookup(java.lang.String failedLookup, java.lang.Exception nestedException)
public static SDOException errorInvokingWLSMethodReflectively(java.lang.String methodName, java.lang.String theClass, java.lang.Exception nestedException)
public static SDOException errorGettingWLSObjectName(java.lang.String objectName, java.lang.Exception nestedException)
public static SDOException errorCreatingWLSInitialContext(java.lang.Exception nestedException)
public static SDOException noTargetIdSpecified(java.lang.String uri, java.lang.String name)
public static SDOException errorProcessingImport(java.lang.String schemaLocation, java.lang.String namespace, java.lang.Exception nestedException)
public static SDOException errorProcessingInclude(java.lang.String schemaLocation, java.lang.Exception nestedException)
public static SDOException referencedPropertyNotFound(java.lang.String uri, java.lang.String localName)
public static SDOException globalPropertyNotFound()
public static SDOException oldSequenceNotFound()
public static SDOException foundSimpleValueForNonDataTypeProperty(java.lang.String propertyName)
public static SDOException sequenceNullOnSequencedDataObject()
public static SDOException noTypeSpecifiedForProperty(java.lang.String propertyName)
public static SDOException ioExceptionOccurred(java.io.IOException nestedException)
public static SDOException xmlMarshalExceptionOccurred(XMLMarshalException nestedException, java.lang.String rootElementURI, java.lang.String rootElementName)
public static SDOException typeNotFound(java.lang.String uri, java.lang.String name)
public static SDOException typeNotFoundForInterface(java.lang.String className, boolean loadersAreRelated)
public static SDOException errorCreatingDataObjectForType(java.lang.String uri, java.lang.String name)
public static SDOException cannotPerformOperationWithNullInputParameter(java.lang.String operation, java.lang.String parameter)
public static SDOException invalidPropertyValue(java.lang.String property, java.lang.String type, java.lang.String valueType, java.lang.String value, ConversionException coe)
public static SDOException errorCreatingDataObjectForClass(java.lang.Exception nestedException, java.lang.String className, java.lang.String uri, java.lang.String name)
public static SDOException noAppInfoForNull()
public static SDOException errorDefiningType()
public static SDOException errorDefiningTypeNoName()
public static SDOException errorDefiningTypeInvalidName(java.lang.String name)
name
- type nameSDOException
public static SDOException errorDefiningPropertyInvalidName(java.lang.String name)
name
- property nameSDOException
public static SDOException missingRefAttribute()
public static SDOException errorProcessingXPath(java.lang.String xpath)
public static SDOException sequenceDuplicateSettingNotSupportedForComplexSingleObject(int index, java.lang.String settingPropertyName)
public static SDOException sequenceAttributePropertyNotSupported(java.lang.String settingPropertyName)
public static SDOException sequenceNotFoundForPath(java.lang.String path)
public static SDOException sequenceDataObjectInstanceFieldIsNull()
public static SDOException sequenceNotSupportedForProperty(java.lang.String propertyName)
public static SDOException wrongValueForProperty(java.lang.String typeUri, java.lang.String typeName, java.lang.Class valueClass)
public static SDOException conversionError(java.lang.Exception e)
public static SDOException propertyNotFoundAtIndex(java.lang.Exception e, int propIndex)
public static SDOException cannotPerformOperationOnNullArgument(java.lang.String methodName)
public static SDOException cannotPerformOperationOnProperty(java.lang.String propertyName, java.lang.String path)
public static SDOException classNotFound(java.lang.Exception nestedException, java.lang.String uri, java.lang.String name)
public static SDOException typeCannotBeOpenAndDataType(java.lang.String uri, java.lang.String name)
public static SDOException invalidIndex(java.lang.IndexOutOfBoundsException nestedException, int index)
public static SDOException noConstructorWithString(java.lang.Exception nestedException, java.lang.String className)
public static SDOException propertyTypeAnnotationTargetCannotBeDataTypeTrue(java.lang.String targetTypeName, java.lang.String sourcePropertyName)
public static SDOException typeReferencedButNotDefined(java.lang.String namespaceUri, java.lang.String typeName)
public static SDOException optionsMustBeADataObject(java.lang.Exception nestedException, java.lang.String uri, java.lang.String name)
public static SDOException typePropertyMustBeAType(java.lang.Exception nestedException)
public static SDOException prefixUsedButNotDefined(java.lang.String prefix)
public static SDOException errorAccessingExternalizableDelegator(java.lang.String fieldName, java.lang.Exception nestedException)
public static SDOException sdoJaxbNoDescriptorForType(javax.xml.namespace.QName sdoQName, javax.xml.namespace.QName xmlQName)
public static SDOException sdoJaxbNoMappingForProperty(java.lang.String propertyName, java.lang.String xPath)
public static SDOException sdoJaxbNoTypeForClass(java.lang.Class clazz)
public static SDOException sdoJaxbNoSchemaReference(java.lang.Class clazz)
public static SDOException sdoJaxbNoSchemaContext(java.lang.Class clazz)
public static SDOException sdoJaxbNoTypeForClassBySchemaContext(java.lang.Class clazz, javax.xml.namespace.QName schemaContext)
public static SDOException sdoJaxbErrorCreatingJAXBUnmarshaller(java.lang.Exception jaxbException)
public static SDOException errorResolvingSchema(java.lang.Exception nestedException)
public static SDOException unableToMapDataHandlerDueToMissingDependency(java.lang.String propertyName, java.lang.String typeName)
public static SDOException attemptToResetApplicationResolver()
public static SDOException dataObjectNotFromHelperContext()