Package com.progress.open4gl
Class RunTime4GLLockConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.progress.common.exception.ProException
com.progress.open4gl.Open4GLException
com.progress.open4gl.RunTime4GLException
com.progress.open4gl.RunTime4GLStopException
com.progress.open4gl.RunTime4GLLockConflictException
- All Implemented Interfaces:
com.progress.common.exception.IChainableException
,Serializable
RunTime4GLLockConflictException is thrown when a lock conflict occurs which
the app has opted not to wait for (or -lkwtmo has been exceeded) and this
condition is returned from the top level ABL procedure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunTime4GLLockConflictException
(Object[] args, int errNum) This constructor is intended for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionGet the device that the other AVM process is running on that is causing the lock conflict.Get the name of the table that the lock conflict is on.getUser()
Get the name of the user who is holding a record lock and thus causing a lock conflict.void
initialize
(String tableName, String user, String device, String callStack) This method is intended for internal use only.Methods inherited from class com.progress.open4gl.RunTime4GLStopException
getABLCallStack, initialize
Methods inherited from class com.progress.open4gl.RunTime4GLException
createException, getErrorNum, getProcReturnString, hasProcReturnString, setProcReturnString
Methods inherited from class com.progress.common.exception.ProException
getArgument, getLocalizedMessage, getMessage, getMessageId, getPrevious, setMessageId, setPrevious, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RunTime4GLLockConflictException
This constructor is intended for internal use only.
-
-
Method Details
-
initialize
This method is intended for internal use only. -
getTableName
Get the name of the table that the lock conflict is on.- Returns:
- The name of the table
-
getUser
Get the name of the user who is holding a record lock and thus causing a lock conflict.- Returns:
- The name of the user
-
getDevice
Get the device that the other AVM process is running on that is causing the lock conflict. This is different depending on the type of machine or if the lock is a schema lock on another device.- Returns:
- The device name
-