Package org.eclipse.persistence.eis
Class EISException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.DatabaseException
-
- org.eclipse.persistence.eis.EISException
-
- All Implemented Interfaces:
java.io.Serializable
public class EISException extends DatabaseException
Use an
EISException
when any problem is detected while interacting with an EIS datasource- See Also:
- Serialized Form
- Author:
- James
- Since:
- OracleAS TopLink 10g (10.0.3)
-
-
Field Summary
Fields Modifier and Type Field Description static int
COULD_NOT_DELETE_FILE
static int
EIS_EXCEPTION
static int
GROUPING_ELEMENT_REQUIRED
static int
INCORRECT_LOGIN_INSTANCE_PROVIDED
static int
INPUT_UNSUPPORTED_MSG_TYPE
static int
INVALID_AQ_INPUT
static int
INVALID_AQ_INTERACTION_SPEC_TYPE
static int
INVALID_AQ_RECORD_TYPE
static int
INVALID_FACTORY_ATTRIBUTES
static int
INVALID_INPUT
static int
INVALID_INTERACTION_SPEC_TYPE
static int
INVALID_METHOD_INVOCATION
static int
INVALID_PROP
static int
INVALID_RECORD_TYPE
static int
NO_CONN_FACTORY
static int
OUTPUT_UNSUPPORTED_MSG_TYPE
static int
PROP_NOT_SET
static int
PROPS_NOT_SET
static int
RESOURCE_EXCEPTION
static int
TIMEOUT
static int
TX_SESSION_TEST_ERROR
static int
UNKNOWN_INTERACTION_SPEC_TYPE
-
Fields inherited from class org.eclipse.persistence.exceptions.DatabaseException
accessor, call, 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, COULD_NOT_FIND_MATCHED_DATABASE_FIELD_FOR_SPECIFIED_OPTOMISTICLOCKING_FIELDS, DATABASE_ACCESSOR_CONNECTION_IS_NULL, DATABASE_ACCESSOR_NOT_CONNECTED, ERROR_PREALLOCATING_SEQUENCE_NUMBERS, ERROR_READING_BLOB_DATA, ERROR_RETRIEVE_DB_METADATA_THROUGH_JDBC_CONNECTION, exception, isCommunicationFailure, LOGOUT_WHILE_TRANSACTION_IN_PROGRESS, query, queryArguments, SEQUENCE_TABLE_INFORMATION_NOT_COMPLETE, SQL_EXCEPTION, SYNCHRONIZED_UNITOFWORK_DOES_NOT_SUPPORT_COMMITANDRESUME, TRANSACTION_MANAGER_NOT_SET_FOR_JTS_DRIVER, UNABLE_TO_ACQUIRE_CONNECTION_FROM_DRIVER
-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Constructor Description EISException(java.lang.Exception exception)
EISException(java.lang.Exception exception, java.lang.String message)
EISException(java.lang.String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EISException
couldNotDeleteFile(java.lang.Object[] args)
static EISException
createException(java.lang.Exception ex)
static EISException
createException(java.lang.Object[] args, int errorCode)
static EISException
createResourceException(java.lang.Object[] args, int errorCode)
static EISException
groupingElementRequired()
static EISException
incorrectLoginInstanceProvided(java.lang.Class loginClass)
static EISException
invalidAQInput()
static EISException
invalidAQInteractionSpecType()
static EISException
invalidAQRecordType()
static EISException
invalidConnectionFactoryAttributes()
static EISException
invalidInput()
static EISException
invalidInteractionSpecType()
static EISException
invalidMethodInvocation()
static EISException
invalidProperty(java.lang.String property)
static EISException
invalidRecordType()
static EISException
noConnectionFactorySpecified()
static EISException
propertiesNotSet(java.lang.String property1, java.lang.String property2)
static EISException
propertyNotSet(java.lang.String property)
static EISException
resourceException(java.lang.Exception resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
static EISException
resourceException(javax.resource.ResourceException resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
static EISException
resourceException(javax.resource.ResourceException resourceException, Call call, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
static EISException
timeoutOccurred()
static EISException
transactedSessionTestError()
static EISException
unknownInteractionSpecType()
static EISException
unsupportedMessageInInputRecord()
static EISException
unsupportedMessageInOutputRecord()
-
Methods inherited from class org.eclipse.persistence.exceptions.DatabaseException
cannotRegisterSynchronizatonListenerForUnitOfWork, configurationErrorClassNotFound, configurationErrorNewInstanceIllegalAccessException, configurationErrorNewInstanceInstantiationException, couldNotConvertObjectType, databaseAccessorConnectionIsNull, databaseAccessorNotConnected, databaseAccessorNotConnected, errorPreallocatingSequenceNumbers, errorReadingBlobData, errorRetrieveDbMetadataThroughJDBCConnection, getAccessor, getCall, getDatabaseErrorCode, getMessage, getQuery, getQueryArgumentsRecord, isCommunicationFailure, logoutWhileTransactionInProgress, sequenceTableInformationNotComplete, setAccessor, setCall, setCommunicationFailure, setQuery, setQueryArguments, specifiedLockingFieldsNotFoundInDatabase, sqlException, sqlException, sqlException, sqlException, sqlException, synchronizedUnitOfWorkDoesNotSupportCommitAndResume, transactionManagerNotSetForJTSDriver, unableToAcquireConnectionFromDriverException, unableToAcquireConnectionFromDriverException
-
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
-
-
-
Field Detail
-
INCORRECT_LOGIN_INSTANCE_PROVIDED
public static final int INCORRECT_LOGIN_INSTANCE_PROVIDED
- See Also:
- Constant Field Values
-
PROP_NOT_SET
public static final int PROP_NOT_SET
- See Also:
- Constant Field Values
-
INVALID_PROP
public static final int INVALID_PROP
- See Also:
- Constant Field Values
-
PROPS_NOT_SET
public static final int PROPS_NOT_SET
- See Also:
- Constant Field Values
-
OUTPUT_UNSUPPORTED_MSG_TYPE
public static final int OUTPUT_UNSUPPORTED_MSG_TYPE
- See Also:
- Constant Field Values
-
NO_CONN_FACTORY
public static final int NO_CONN_FACTORY
- See Also:
- Constant Field Values
-
INVALID_INTERACTION_SPEC_TYPE
public static final int INVALID_INTERACTION_SPEC_TYPE
- See Also:
- Constant Field Values
-
INVALID_RECORD_TYPE
public static final int INVALID_RECORD_TYPE
- See Also:
- Constant Field Values
-
UNKNOWN_INTERACTION_SPEC_TYPE
public static final int UNKNOWN_INTERACTION_SPEC_TYPE
- See Also:
- Constant Field Values
-
INVALID_INPUT
public static final int INVALID_INPUT
- See Also:
- Constant Field Values
-
TIMEOUT
public static final int TIMEOUT
- See Also:
- Constant Field Values
-
INPUT_UNSUPPORTED_MSG_TYPE
public static final int INPUT_UNSUPPORTED_MSG_TYPE
- See Also:
- Constant Field Values
-
INVALID_METHOD_INVOCATION
public static final int INVALID_METHOD_INVOCATION
- See Also:
- Constant Field Values
-
TX_SESSION_TEST_ERROR
public static final int TX_SESSION_TEST_ERROR
- See Also:
- Constant Field Values
-
INVALID_AQ_INTERACTION_SPEC_TYPE
public static final int INVALID_AQ_INTERACTION_SPEC_TYPE
- See Also:
- Constant Field Values
-
INVALID_AQ_RECORD_TYPE
public static final int INVALID_AQ_RECORD_TYPE
- See Also:
- Constant Field Values
-
INVALID_AQ_INPUT
public static final int INVALID_AQ_INPUT
- See Also:
- Constant Field Values
-
INVALID_FACTORY_ATTRIBUTES
public static final int INVALID_FACTORY_ATTRIBUTES
- See Also:
- Constant Field Values
-
COULD_NOT_DELETE_FILE
public static final int COULD_NOT_DELETE_FILE
- See Also:
- Constant Field Values
-
GROUPING_ELEMENT_REQUIRED
public static final int GROUPING_ELEMENT_REQUIRED
- See Also:
- Constant Field Values
-
EIS_EXCEPTION
public static final int EIS_EXCEPTION
- See Also:
- Constant Field Values
-
RESOURCE_EXCEPTION
public static final int RESOURCE_EXCEPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
resourceException
public static EISException resourceException(java.lang.Exception resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
-
resourceException
public static EISException resourceException(javax.resource.ResourceException resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
-
resourceException
public static EISException resourceException(javax.resource.ResourceException resourceException, Call call, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)
-
createResourceException
public static EISException createResourceException(java.lang.Object[] args, int errorCode)
-
createException
public static EISException createException(java.lang.Exception ex)
-
createException
public static EISException createException(java.lang.Object[] args, int errorCode)
-
propertyNotSet
public static EISException propertyNotSet(java.lang.String property)
-
propertiesNotSet
public static EISException propertiesNotSet(java.lang.String property1, java.lang.String property2)
-
invalidProperty
public static EISException invalidProperty(java.lang.String property)
-
unsupportedMessageInOutputRecord
public static EISException unsupportedMessageInOutputRecord()
-
unsupportedMessageInInputRecord
public static EISException unsupportedMessageInInputRecord()
-
noConnectionFactorySpecified
public static EISException noConnectionFactorySpecified()
-
invalidInteractionSpecType
public static EISException invalidInteractionSpecType()
-
invalidAQInteractionSpecType
public static EISException invalidAQInteractionSpecType()
-
invalidRecordType
public static EISException invalidRecordType()
-
invalidAQRecordType
public static EISException invalidAQRecordType()
-
unknownInteractionSpecType
public static EISException unknownInteractionSpecType()
-
invalidConnectionFactoryAttributes
public static EISException invalidConnectionFactoryAttributes()
-
invalidInput
public static EISException invalidInput()
-
invalidAQInput
public static EISException invalidAQInput()
-
timeoutOccurred
public static EISException timeoutOccurred()
-
invalidMethodInvocation
public static EISException invalidMethodInvocation()
-
transactedSessionTestError
public static EISException transactedSessionTestError()
-
groupingElementRequired
public static EISException groupingElementRequired()
-
couldNotDeleteFile
public static EISException couldNotDeleteFile(java.lang.Object[] args)
-
incorrectLoginInstanceProvided
public static EISException incorrectLoginInstanceProvided(java.lang.Class loginClass)
-
-