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
EISExceptionwhen 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 intCOULD_NOT_DELETE_FILEstatic intEIS_EXCEPTIONstatic intGROUPING_ELEMENT_REQUIREDstatic intINCORRECT_LOGIN_INSTANCE_PROVIDEDstatic intINPUT_UNSUPPORTED_MSG_TYPEstatic intINVALID_AQ_INPUTstatic intINVALID_AQ_INTERACTION_SPEC_TYPEstatic intINVALID_AQ_RECORD_TYPEstatic intINVALID_FACTORY_ATTRIBUTESstatic intINVALID_INPUTstatic intINVALID_INTERACTION_SPEC_TYPEstatic intINVALID_METHOD_INVOCATIONstatic intINVALID_PROPstatic intINVALID_RECORD_TYPEstatic intNO_CONN_FACTORYstatic intOUTPUT_UNSUPPORTED_MSG_TYPEstatic intPROP_NOT_SETstatic intPROPS_NOT_SETstatic intRESOURCE_EXCEPTIONstatic intTIMEOUTstatic intTX_SESSION_TEST_ERRORstatic intUNKNOWN_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 EISExceptioncouldNotDeleteFile(java.lang.Object[] args)static EISExceptioncreateException(java.lang.Exception ex)static EISExceptioncreateException(java.lang.Object[] args, int errorCode)static EISExceptioncreateResourceException(java.lang.Object[] args, int errorCode)static EISExceptiongroupingElementRequired()static EISExceptionincorrectLoginInstanceProvided(java.lang.Class loginClass)static EISExceptioninvalidAQInput()static EISExceptioninvalidAQInteractionSpecType()static EISExceptioninvalidAQRecordType()static EISExceptioninvalidConnectionFactoryAttributes()static EISExceptioninvalidInput()static EISExceptioninvalidInteractionSpecType()static EISExceptioninvalidMethodInvocation()static EISExceptioninvalidProperty(java.lang.String property)static EISExceptioninvalidRecordType()static EISExceptionnoConnectionFactorySpecified()static EISExceptionpropertiesNotSet(java.lang.String property1, java.lang.String property2)static EISExceptionpropertyNotSet(java.lang.String property)static EISExceptionresourceException(java.lang.Exception resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)static EISExceptionresourceException(javax.resource.ResourceException resourceException, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)static EISExceptionresourceException(javax.resource.ResourceException resourceException, Call call, EISAccessor accessor, org.eclipse.persistence.internal.sessions.AbstractSession session)static EISExceptiontimeoutOccurred()static EISExceptiontransactedSessionTestError()static EISExceptionunknownInteractionSpecType()static EISExceptionunsupportedMessageInInputRecord()static EISExceptionunsupportedMessageInOutputRecord()- 
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)
 
 - 
 
 -