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
TypeField
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
TypeMethod
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage
 
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

UNABLE_TO_CLOSE_WRITE_STREAM

public static final int UNABLE_TO_CLOSE_WRITE_STREAM

NOT_A_DIRECTORY

public static final int NOT_A_DIRECTORY

DIRECTORY_COULD_NOT_BE_CREATED

public static final int DIRECTORY_COULD_NOT_BE_CREATED

DIRECTORY_NOT_FOUND

public static final int DIRECTORY_NOT_FOUND

FILE_ALREADY_EXISTS

public static final int FILE_ALREADY_EXISTS

UNABLE_TO_CREATE_WRITE_STREAM

public static final int UNABLE_TO_CREATE_WRITE_STREAM

INVALID_FIELD_VALUE

public static final int INVALID_FIELD_VALUE

CLASS_NOT_FOUND

public static final int CLASS_NOT_FOUND

SAX_PARSER_ERROR

public static final int SAX_PARSER_ERROR

GENERAL_EXCEPTION

public static final int GENERAL_EXCEPTION

IOEXCEPTION

public static final int IOEXCEPTION

UNABLE_TO_CLOSE_READ_STREAM

public static final int UNABLE_TO_CLOSE_READ_STREAM

HETEROGENEOUS_CHILD_ELEMENTS

public static final int HETEROGENEOUS_CHILD_ELEMENTS

NO_SUCH_METHOD

public static final int NO_SUCH_METHOD

ILLEGAL_ACCESS_EXCEPTION

public static final int ILLEGAL_ACCESS_EXCEPTION

INVOCATION_TARGET_EXCEPTION

public static final int INVOCATION_TARGET_EXCEPTION

INSTANTIATION_EXCEPTION

public static final int INSTANTIATION_EXCEPTION

INSTANTIATION_ILLEGAL_ACCESS_EXCEPTION

public static final int INSTANTIATION_ILLEGAL_ACCESS_EXCEPTION

HETEROGENEOUS_TABLE_NAMES

public static final int HETEROGENEOUS_TABLE_NAMES

ELEMENT_DATA_TYPE_NAME_IS_REQUIRED

public static final int ELEMENT_DATA_TYPE_NAME_IS_REQUIRED
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)