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:
Serializable
Use an EISException when any problem is detected while
interacting with an EIS datasource
- Since:
- OracleAS TopLink 10g (10.0.3)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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_DRIVERFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException -
Constructor Summary
ConstructorsConstructorDescriptionEISException(Exception exception) EISException(Exception exception, String message) EISException(String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic EISExceptioncouldNotDeleteFile(Object[] args) static EISExceptionstatic EISExceptioncreateException(Object[] args, int errorCode) static EISExceptioncreateResourceException(Object[] args, int errorCode) static EISExceptionstatic EISExceptionincorrectLoginInstanceProvided(Class<?> loginClass) static EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptioninvalidConsistencyPropertyValue(String property) static EISExceptioninvalidDurabilityPropertyValue(String property) static EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptioninvalidProperty(String property) static EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionpropertiesNotSet(String property1, String property2) static EISExceptionpropertyNotSet(String property) static EISExceptionqueryIsTooComplexForOracleNoSQLDB(String property) static EISExceptionresourceException(ResourceException resourceException, EISAccessor accessor, AbstractSession session) static EISExceptionresourceException(ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session) static EISExceptionresourceException(Exception resourceException, EISAccessor accessor, AbstractSession session) static EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionstatic EISExceptionxmlInteractionIsValidOnly(String property) 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, unableToAcquireConnectionFromDriverExceptionMethods 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, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
INCORRECT_LOGIN_INSTANCE_PROVIDED
public static final int INCORRECT_LOGIN_INSTANCE_PROVIDED- See Also:
-
PROP_NOT_SET
public static final int PROP_NOT_SET- See Also:
-
INVALID_PROP
public static final int INVALID_PROP- See Also:
-
PROPS_NOT_SET
public static final int PROPS_NOT_SET- See Also:
-
OUTPUT_UNSUPPORTED_MSG_TYPE
public static final int OUTPUT_UNSUPPORTED_MSG_TYPE- See Also:
-
NO_CONN_FACTORY
public static final int NO_CONN_FACTORY- See Also:
-
INVALID_INTERACTION_SPEC_TYPE
public static final int INVALID_INTERACTION_SPEC_TYPE- See Also:
-
INVALID_RECORD_TYPE
public static final int INVALID_RECORD_TYPE- See Also:
-
UNKNOWN_INTERACTION_SPEC_TYPE
public static final int UNKNOWN_INTERACTION_SPEC_TYPE- See Also:
-
INVALID_INPUT
public static final int INVALID_INPUT- See Also:
-
TIMEOUT
public static final int TIMEOUT- See Also:
-
INPUT_UNSUPPORTED_MSG_TYPE
public static final int INPUT_UNSUPPORTED_MSG_TYPE- See Also:
-
INVALID_METHOD_INVOCATION
public static final int INVALID_METHOD_INVOCATION- See Also:
-
TX_SESSION_TEST_ERROR
public static final int TX_SESSION_TEST_ERROR- See Also:
-
INVALID_AQ_INTERACTION_SPEC_TYPE
public static final int INVALID_AQ_INTERACTION_SPEC_TYPE- See Also:
-
INVALID_AQ_RECORD_TYPE
public static final int INVALID_AQ_RECORD_TYPE- See Also:
-
INVALID_AQ_INPUT
public static final int INVALID_AQ_INPUT- See Also:
-
INVALID_FACTORY_ATTRIBUTES
public static final int INVALID_FACTORY_ATTRIBUTES- See Also:
-
COULD_NOT_DELETE_FILE
public static final int COULD_NOT_DELETE_FILE- See Also:
-
GROUPING_ELEMENT_REQUIRED
public static final int GROUPING_ELEMENT_REQUIRED- See Also:
-
OPERATION_PROPERTY_IS_NOT_SET
public static final int OPERATION_PROPERTY_IS_NOT_SET- See Also:
-
TABLE_NAME_IS_NOT_SET
public static final int TABLE_NAME_IS_NOT_SET- See Also:
-
INVALID_CONSISTENCY_PROPERTY_VALUE
public static final int INVALID_CONSISTENCY_PROPERTY_VALUE- See Also:
-
INVALID_DURABILITY_PROPERTY_VALUE
public static final int INVALID_DURABILITY_PROPERTY_VALUE- See Also:
-
XML_INTERACTION_IS_VALID_ONLY
public static final int XML_INTERACTION_IS_VALID_ONLY- See Also:
-
QUERY_IS_TOO_COMPLEX_FOR_ORACLE_NOSQL_DB
public static final int QUERY_IS_TOO_COMPLEX_FOR_ORACLE_NOSQL_DB- See Also:
-
EIS_EXCEPTION
public static final int EIS_EXCEPTION- See Also:
-
RESOURCE_EXCEPTION
public static final int RESOURCE_EXCEPTION- See Also:
-
-
Constructor Details
-
EISException
-
EISException
-
EISException
-
-
Method Details
-
resourceException
public static EISException resourceException(Exception resourceException, EISAccessor accessor, AbstractSession session) -
resourceException
public static EISException resourceException(ResourceException resourceException, EISAccessor accessor, AbstractSession session) -
resourceException
public static EISException resourceException(ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session) -
createResourceException
-
createException
-
createException
-
propertyNotSet
-
propertiesNotSet
-
invalidProperty
-
unsupportedMessageInOutputRecord
-
unsupportedMessageInInputRecord
-
noConnectionFactorySpecified
-
invalidInteractionSpecType
-
invalidAQInteractionSpecType
-
invalidRecordType
-
invalidAQRecordType
-
unknownInteractionSpecType
-
invalidConnectionFactoryAttributes
-
invalidInput
-
invalidAQInput
-
timeoutOccurred
-
invalidMethodInvocation
-
transactedSessionTestError
-
groupingElementRequired
-
couldNotDeleteFile
-
operationPropertyIsNotSet
-
tableNameIsNotSet
-
invalidConsistencyPropertyValue
-
invalidDurabilityPropertyValue
-
xmlInteractionIsValidOnly
-
queryIsTooComplexForOracleNoSQLDB
-
incorrectLoginInstanceProvided
-