Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.xml
Class XMLDataStoreException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.toplink.exceptions.TopLinkException
                          |
                          +--oracle.toplink.exceptions.DatabaseException
                                |
                                +--oracle.toplink.sdk.SDKDataStoreException
                                      |
                                      +--oracle.toplink.xml.XMLDataStoreException
All Implemented Interfaces:
java.io.Serializable

public class XMLDataStoreException
extends SDKDataStoreException

Exception used for any problem detected while interacting with the XML "data store".

Since:
TOPLink/Java 3.0
See Also:
Serialized Form

Field Summary
static int CLASS_NOT_FOUND
           
static int DIRECTORY_COULD_NOT_BE_CREATED
           
static int DIRECTORY_NOT_FOUND
           
static int ELEMENT_DATA_TYPE_NAME_IS_REQUIRED
           
static int FILE_ALREADY_EXISTS
           
static int FILE_NOT_FOUND
           
static int GENERAL_EXCEPTION
           
static int HETEROGENEOUS_CHILD_ELEMENTS
           
static int HETEROGENEOUS_TABLE_NAMES
           
static int ILLEGAL_ACCESS_EXCEPTION
           
static int INSTANTIATION_EXCEPTION
           
static int INSTANTIATION_ILLEGAL_ACCESS_EXCEPTION
           
static int INVALID_FIELD_VALUE
           
static int INVOCATION_TARGET_EXCEPTION
           
static int IOEXCEPTION
           
static int NO_SUCH_METHOD
           
static int NOT_A_DIRECTORY
           
static int SAX_PARSER_ERROR
           
static int UNABLE_TO_CLOSE_READ_STREAM
           
static int UNABLE_TO_CLOSE_WRITE_STREAM
           
static int UNABLE_TO_CREATE_WRITE_STREAM
           

 

Fields inherited from class oracle.toplink.sdk.SDKDataStoreException
IAE_WHEN_INSTANTIATING_ACCESSOR, IE_WHEN_INSTANTIATING_ACCESSOR, INCORRECT_LOGIN_INSTANCE_PROVIDED, INVALID_CALL, SDK_PLATFORM_DOES_SUPPORT_SEQUENCES, UNSUPPORTED

 

Fields inherited from class oracle.toplink.exceptions.DatabaseException
CANNOT_REGISTER_SYNCHRONIZATIONLISTENER_FOR_UNITOFWORK, CONFIGURATION_ERROR_CLASS_NOT_FOUND, CONFIGURATION_ERROR_NEW_INSTANCE_ILLEGAL_ACCESS_EXCEPTION, CONFIGURATION_ERROR_NEW_INSTANCE_INSTANTIATION_EXCEPTION, COULD_NOT_CONVERT_OBJECT_TYPE, DATABASE_ACCESSOR_NOT_CONNECTED, ERROR_PREALLOCATING_SEQUENCE_NUMBERS, ERROR_READING_BLOB_DATA, LOGOUT_WHILE_TRANSACTION_IN_PROGRESS, SEQUENCE_TABLE_INFORMATION_NOT_COMPLETE, SQL_EXCEPTION, SYNCHRONIZED_UNITOFWORK_DOES_NOT_SUPPORT_COMMITANDRESUME, TRANSACTION_MANAGER_NOT_SET_FOR_JTS_DRIVER

 

Method Summary
static XMLDataStoreException classNotFound(java.lang.String className)
           
static XMLDataStoreException directoryCouldNotBeCreated(java.io.File directory)
           
static XMLDataStoreException directoryNotFound(java.io.File directory)
           
static XMLDataStoreException elementDataTypeNameIsRequired(java.util.Vector elements)
           
static XMLDataStoreException fileAlreadyExists(java.io.File file)
           
static XMLDataStoreException fileNotFound(java.io.File file, java.io.IOException ioException)
           
static XMLDataStoreException generalException(java.lang.Exception exception)
           
static XMLDataStoreException heterogeneousChildElements(java.lang.Object parentNode)
           
static XMLDataStoreException heterogeneousTableNames(DatabaseRow row)
           
static XMLDataStoreException illegalAccessException(java.lang.reflect.Method method)
           
static XMLDataStoreException instantiationException(java.lang.Class javaClass)
           
static XMLDataStoreException instantiationIllegalAccessException(java.lang.Class javaClass)
           
static XMLDataStoreException invalidFieldValue(java.lang.String fieldName, java.lang.Object fieldValue)
           
static XMLDataStoreException invocationTargetException(java.lang.reflect.Method method, java.lang.reflect.InvocationTargetException ite)
           
static XMLDataStoreException ioException(java.io.IOException ioException)
           
static XMLDataStoreException noSuchMethod(java.lang.Class javaClass, java.lang.String methodName)
           
static XMLDataStoreException notADirectory(java.io.File directory)
           
static XMLDataStoreException parserError(SAXParseException parseException)
           
static XMLDataStoreException unableToCloseReadStream(java.lang.Object translator, java.io.IOException ioException)
           
static XMLDataStoreException unableToCloseWriteStream(XMLCall call, java.io.IOException ioException)
           
static XMLDataStoreException unableToCreateWriteStream(java.io.File file, java.io.IOException ioException)
           

 

Methods inherited from class oracle.toplink.sdk.SDKDataStoreException
illegalAccessExceptionWhenInstantiatingAccessor, incorrectLoginInstanceProvided, instantiationExceptionWhenInstantiatingAccessor, invalidCall, sdkPlatformDoesNotSupportSequences, unsupported

 

Methods inherited from class oracle.toplink.exceptions.DatabaseException
cannotRegisterSynchronizatonListenerForUnitOfWork, configurationErrorClassNotFound, configurationErrorNewInstanceIllegalAccessException, configurationErrorNewInstanceInstantiationException, couldNotConvertObjectType, databaseAccessorNotConnected, databaseAccessorNotConnected, errorPreallocatingSequenceNumbers, errorReadingBlobData, getAccessor, getDatabaseErrorCode, getMessage, getQuery, getQueryArguments, logoutWhileTransactionInProgress, sequenceTableInformationNotComplete, setQuery, setQueryArguments, sqlException, sqlException, synchronizedUnitOfWorkDoesNotSupportCommitAndResume, transactionManagerNotSetForJTSDriver

 

Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getSession, printStackTrace, printStackTrace, printStackTrace, setShouldPrintInternalException

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

FILE_NOT_FOUND

public static final int FILE_NOT_FOUND
See Also:
Constant Field Values

UNABLE_TO_CLOSE_WRITE_STREAM

public static final int UNABLE_TO_CLOSE_WRITE_STREAM
See Also:
Constant Field Values

NOT_A_DIRECTORY

public static final int NOT_A_DIRECTORY
See Also:
Constant Field Values

DIRECTORY_COULD_NOT_BE_CREATED

public static final int DIRECTORY_COULD_NOT_BE_CREATED
See Also:
Constant Field Values

DIRECTORY_NOT_FOUND

public static final int DIRECTORY_NOT_FOUND
See Also:
Constant Field Values

FILE_ALREADY_EXISTS

public static final int FILE_ALREADY_EXISTS
See Also:
Constant Field Values

UNABLE_TO_CREATE_WRITE_STREAM

public static final int UNABLE_TO_CREATE_WRITE_STREAM
See Also:
Constant Field Values

INVALID_FIELD_VALUE

public static final int INVALID_FIELD_VALUE
See Also:
Constant Field Values

CLASS_NOT_FOUND

public static final int CLASS_NOT_FOUND
See Also:
Constant Field Values

SAX_PARSER_ERROR

public static final int SAX_PARSER_ERROR
See Also:
Constant Field Values

GENERAL_EXCEPTION

public static final int GENERAL_EXCEPTION
See Also:
Constant Field Values

IOEXCEPTION

public static final int IOEXCEPTION
See Also:
Constant Field Values

UNABLE_TO_CLOSE_READ_STREAM

public static final int UNABLE_TO_CLOSE_READ_STREAM
See Also:
Constant Field Values

HETEROGENEOUS_CHILD_ELEMENTS

public static final int HETEROGENEOUS_CHILD_ELEMENTS
See Also:
Constant Field Values

NO_SUCH_METHOD

public static final int NO_SUCH_METHOD
See Also:
Constant Field Values

ILLEGAL_ACCESS_EXCEPTION

public static final int ILLEGAL_ACCESS_EXCEPTION
See Also:
Constant Field Values

INVOCATION_TARGET_EXCEPTION

public static final int INVOCATION_TARGET_EXCEPTION
See Also:
Constant Field Values

INSTANTIATION_EXCEPTION

public static final int INSTANTIATION_EXCEPTION
See Also:
Constant Field Values

INSTANTIATION_ILLEGAL_ACCESS_EXCEPTION

public static final int INSTANTIATION_ILLEGAL_ACCESS_EXCEPTION
See Also:
Constant Field Values

HETEROGENEOUS_TABLE_NAMES

public static final int HETEROGENEOUS_TABLE_NAMES
See Also:
Constant Field Values

ELEMENT_DATA_TYPE_NAME_IS_REQUIRED

public static final int ELEMENT_DATA_TYPE_NAME_IS_REQUIRED
See Also:
Constant Field Values
Method Detail

classNotFound

public static XMLDataStoreException classNotFound(java.lang.String className)

directoryCouldNotBeCreated

public static XMLDataStoreException directoryCouldNotBeCreated(java.io.File directory)

directoryNotFound

public static XMLDataStoreException directoryNotFound(java.io.File directory)

elementDataTypeNameIsRequired

public static XMLDataStoreException elementDataTypeNameIsRequired(java.util.Vector elements)

fileAlreadyExists

public static XMLDataStoreException fileAlreadyExists(java.io.File file)

fileNotFound

public static XMLDataStoreException fileNotFound(java.io.File file,
                                                 java.io.IOException ioException)

generalException

public static XMLDataStoreException generalException(java.lang.Exception exception)

heterogeneousChildElements

public static XMLDataStoreException heterogeneousChildElements(java.lang.Object parentNode)

heterogeneousTableNames

public static XMLDataStoreException heterogeneousTableNames(DatabaseRow row)

illegalAccessException

public static XMLDataStoreException illegalAccessException(java.lang.reflect.Method method)

instantiationException

public static XMLDataStoreException instantiationException(java.lang.Class javaClass)

instantiationIllegalAccessException

public static XMLDataStoreException instantiationIllegalAccessException(java.lang.Class javaClass)

invalidFieldValue

public static XMLDataStoreException invalidFieldValue(java.lang.String fieldName,
                                                      java.lang.Object fieldValue)

invocationTargetException

public static XMLDataStoreException invocationTargetException(java.lang.reflect.Method method,
                                                              java.lang.reflect.InvocationTargetException ite)

ioException

public static XMLDataStoreException ioException(java.io.IOException ioException)

noSuchMethod

public static XMLDataStoreException noSuchMethod(java.lang.Class javaClass,
                                                 java.lang.String methodName)

notADirectory

public static XMLDataStoreException notADirectory(java.io.File directory)

parserError

public static XMLDataStoreException parserError(SAXParseException parseException)

unableToCloseReadStream

public static XMLDataStoreException unableToCloseReadStream(java.lang.Object translator,
                                                            java.io.IOException ioException)

unableToCloseWriteStream

public static XMLDataStoreException unableToCloseWriteStream(XMLCall call,
                                                             java.io.IOException ioException)

unableToCreateWriteStream

public static XMLDataStoreException unableToCreateWriteStream(java.io.File file,
                                                              java.io.IOException ioException)

Copyright © 2003 Oracle Corporation. All Rights Reserved.