jACOB 2.7 API Documentation.

de.tif.jacob.core.exception
Class RecordLockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.tif.jacob.core.exception.UserException
              extended by de.tif.jacob.core.exception.RecordLockedException
All Implemented Interfaces:
java.io.Serializable

public class RecordLockedException
extends UserException

This exception indicates that a given data table record has already been locked by another user.

See Also:
Serialized Form

Field Summary
static java.lang.String RCS_ID
          The internal revision control system id.
static java.lang.String RCS_REV
          The internal revision control system id in short form.
 
Constructor Summary
RecordLockedException(IDataRecordId recordId, java.lang.String userId)
          Constructs the RecordLockedException.
 
Method Summary
 IDataRecordId getRecordId()
          Returns the id of the locked record.
 
Methods inherited from class de.tif.jacob.core.exception.UserException
getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final transient java.lang.String RCS_ID
The internal revision control system id.

See Also:
Constant Field Values

RCS_REV

public static final transient java.lang.String RCS_REV
The internal revision control system id in short form.

See Also:
Constant Field Values
Constructor Detail

RecordLockedException

public RecordLockedException(IDataRecordId recordId,
                             java.lang.String userId)
Constructs the RecordLockedException.

Parameters:
recordId - the id of the locked record
userId - the id of the user who has currently locked the record
Method Detail

getRecordId

public final IDataRecordId getRecordId()
Returns the id of the locked record.

Returns:
id of the locked record
Since:
2.6

jACOB 2.7 API Documentation.