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:
Serializable
Use an EISException
when any problem is detected while
interacting with an EIS datasource
- See Also:
- Author:
- James
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
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
ConstructorDescriptionEISException
(Exception exception) EISException
(Exception exception, String message) EISException
(String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic EISException
couldNotDeleteFile
(Object[] args) static EISException
static EISException
createException
(Object[] args, int errorCode) static EISException
createResourceException
(Object[] args, int errorCode) static EISException
static EISException
incorrectLoginInstanceProvided
(Class loginClass) static EISException
static EISException
static EISException
static EISException
static EISException
static EISException
static EISException
static EISException
invalidProperty
(String property) static EISException
static EISException
static EISException
propertiesNotSet
(String property1, String property2) static EISException
propertyNotSet
(String property) static EISException
resourceException
(jakarta.resource.ResourceException resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session) static EISException
resourceException
(jakarta.resource.ResourceException resourceException, Call call, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session) static EISException
resourceException
(Exception resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session) static EISException
static EISException
static EISException
static EISException
static EISException
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
Methods 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:
-
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, org.eclipse.persistence.internal.sessions.AbstractSession session) -
resourceException
public static EISException resourceException(jakarta.resource.ResourceException resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session) -
resourceException
public static EISException resourceException(jakarta.resource.ResourceException resourceException, Call call, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session) -
createResourceException
-
createException
-
createException
-
propertyNotSet
-
propertiesNotSet
-
invalidProperty
-
unsupportedMessageInOutputRecord
-
unsupportedMessageInInputRecord
-
noConnectionFactorySpecified
-
invalidInteractionSpecType
-
invalidAQInteractionSpecType
-
invalidRecordType
-
invalidAQRecordType
-
unknownInteractionSpecType
-
invalidConnectionFactoryAttributes
-
invalidInput
-
invalidAQInput
-
timeoutOccurred
-
invalidMethodInvocation
-
transactedSessionTestError
-
groupingElementRequired
-
couldNotDeleteFile
-
incorrectLoginInstanceProvided
-