jACOB 2.7 API Documentation.

de.tif.jacob.core.exception
Class RecordNotFoundException

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.RecordNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class RecordNotFoundException
extends UserException

This exception indicates that a given data table record could not be retrieved from data source for any reason.

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
RecordNotFoundException(IDataRecordId recordId)
          Constructs the RecordNotFoundException.
RecordNotFoundException(ITableDefinition tableDefinition, IDataKeyValue primaryKeyValue)
          Constructs the RecordNotFoundException.
 
Method Summary
 IDataRecordId getRecordId()
          Returns the id of the record which has not been found.
 
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

RecordNotFoundException

public RecordNotFoundException(IDataRecordId recordId)
Constructs the RecordNotFoundException.

Parameters:
recordId - the id of the record which has not been found

RecordNotFoundException

public RecordNotFoundException(ITableDefinition tableDefinition,
                               IDataKeyValue primaryKeyValue)
Constructs the RecordNotFoundException.

Parameters:
tableDefinition - the table definition
primaryKeyValue - the record primary key value
Method Detail

getRecordId

public final IDataRecordId getRecordId()
Returns the id of the record which has not been found.

Returns:
id of the record which has not been found

jACOB 2.7 API Documentation.