borland Packages  Class Hierarchy  datastore Package  Index 

DataStoreException class

java.lang.Object
   +----java.lang.Throwable
           +----java.lang.Exception
                   +----borland.jbcl.dataset.DataSetException
                           +----borland.datastore.DataStoreException

About the DataStoreException class

Variables  Properties  Methods  

Implements ChainedException, Serializable

The DataStoreException class is used heavily by the datastore package. Different error conditions can be discerned by comparing the return reference from the getError() method.


DataStoreException variables

Variables implemented in this class

Variables implemented in borland.jbcl.dataset.DataSetException

DataStoreException properties

*Read-only properties **Write-only properties

Properties implemented in borland.jbcl.dataset.DataSetException

Properties implemented in java.lang.Object

Properties implemented in java.lang.Throwable

DataStoreException methods

Methods implemented in this class

Methods implemented in borland.jbcl.dataset.DataSetException

Methods implemented in java.lang.Object

Methods implemented in java.lang.Throwable


DataStoreException variables

AGG_OPERATOR_NOT_FOUND

  public static final int AGG_OPERATOR_NOT_FOUND = BASE+24
The AggOperator class could not be loaded. Check the classpath setting for your project.

BIGDECIMAL_PRECISION_ERROR

  public static final int BIGDECIMAL_PRECISION_ERROR = BASE+29
The precision of BigDecimal was exceeded.

CANNOT_RESTRUCTURE

  public static final int CANNOT_RESTRUCTURE = BASE+8
Cannot restructure a DataSet from two different StorageDataSet components.

CANT_CREATE_OPEN_FILE

  public static final int CANT_CREATE_OPEN_FILE = BASE+32
Can't create a file that is still open.

COLUMN_NEEDS_RESTRUCTURE

  public static final int COLUMN_NEEDS_RESTRUCTURE = BASE+9
The Column component is new or its data type has changed. Restructure the DataSet.

DATASET_ALREADY_OPEN

  public static final int DATASET_ALREADY_OPEN = BASE+8
Table can only be opened by one StorageDataSet at a time.

DATASET_EXISTS

  public static final int DATASET_EXISTS = BASE+35
Cannot create a file stream with the same name as an existing DataSet.

DATASTORE_ALREADY_OPEN

  public static final int DATASTORE_ALREADY_OPEN = BASE+30
DataStore is already open by this or another process.

DATASTORE_EXISTS

  public static final int DATASTORE_EXISTS = BASE+17
DataStore already exists; specify a name that does not already exist.

DATASTORE_INVALID

  public static final int DATASTORE_INVALID = BASE+12

DATASTORE_NOT_FOUND

  public static final int DATASTORE_NOT_FOUND = BASE+11
Operation failed. DataStore not found.

DATASTORE_NOT_OPEN

  public static final int DATASTORE_NOT_OPEN = BASE+10
Operation failed. The DataStore is not open.

DATASTORE_OPEN

  public static final int DATASTORE_OPEN = BASE+19
Operation failed. Operation cannot be performed on an open DataStore.

DUPLICATE_KEY

  public static final int DUPLICATE_KEY = BASE+4
Operation failed. Attempt to add duplicate key value.

FILE_EXISTS

  public static final int FILE_EXISTS = BASE+36
Cannot create a DataSet stream with the same name as an existing file.

FILE_NOT_FOUND

  public static final int FILE_NOT_FOUND = BASE+33
File not found in DataStore.

INVALID_DIRECTORY_ATTRIBUTES

  public static final int INVALID_DIRECTORY_ATTRIBUTES = BASE+24
Cannot open the DataSet because it has invalid directory attributes.

INVALID_KEY_COLUMN

  public static final int INVALID_KEY_COLUMN = BASE+5
Internal Error. Invalid Column type for key.

INVALID_STORE_NAME

  public static final int INVALID_STORE_NAME = BASE+18

INVALID_TRANSACTION_OPERATION

  public static final int INVALID_TRANSACTION_OPERATION = BASE+21
Invalid transaction operation for the DataStore component.

IO_EXCEPTION

  public static final int IO_EXCEPTION = BASE+7

NAME_NOT_UNIQUE

  public static final int NAME_NOT_UNIQUE = BASE+15
The name of the storage file or table being added or renamed is not unique.

NEWER_VERSION

  public static final int NEWER_VERSION = BASE+34
DataStore cannot be opened because it was created by a newer a version of the DataStore component.

OPEN_CLOSE_FAILED

  public static final int OPEN_CLOSE_FAILED = BASE+20
Open or close operation failed.

OPERATION_CANCELED

  public static final int OPERATION_CANCELED = BASE+25
Operation canceled. Used for canceling long running operations like sorting or restructuring.

READ_BLOCK_ERROR

  public static final int READ_BLOCK_ERROR = BASE+23
Error reading from the DataStore. Unexpected block contents.

RECOVERY_MANAGER_OPEN

  public static final int RECOVERY_MANAGER_OPEN = BASE+37
Recovery manager already opened by a DataStore.

RESTRUCTURE_DATA_LOSS

  public static final int RESTRUCTURE_DATA_LOSS = BASE+26
Restructure operation is converting from one data type to another. Old values will not be converted to the new data type.

RESTRUCTURE_PARSE_ERROR

  public static final int RESTRUCTURE_PARSE_ERROR = BASE+28
Restructure operation is converting from one data type to another. One or more parse errors occured converting a String data type to a non String data type.

RESTRUCTURE_PRECISION_LOSS

  public static final int RESTRUCTURE_PRECISION_LOSS = BASE+27
Restructure operation is converting from one data type to another. Type conversion may result in precision loss when values of the old data type are converted to values of the new data type.

ROW_NOT_FOUND

  public static final int ROW_NOT_FOUND = BASE+38
Unexpected condition. internal row not found.

ROW_TOO_WIDE

  public static final int ROW_TOO_WIDE = BASE+6
Max row size exceeded. Too many columns and/or high column precisions used.

STORE_NAME_NOT_SET

  public static final int STORE_NAME_NOT_SET = BASE+1
Operation failed. The storeName property for Table component not set.

STORE_OPERATION_UNSUPPORTED

  public static final int STORE_OPERATION_UNSUPPORTED = BASE+16

STREAM_CLOSED

  public static final int STREAM_CLOSED = BASE+31
InputStream from a DataStore has been closed and is no longer accessable.

STREAM_OPEN_TWICE

  public static final int STREAM_OPEN_TWICE = BASE+14

TOO_MANY_ERRORS

  public static final int TOO_MANY_ERRORS = BASE+39
Too many errors detected by the stream verifier.

UPDATE_FAILED

  public static final int UPDATE_FAILED = BASE+13

WRITE_BLOCK_ERROR

  public static final int WRITE_BLOCK_ERROR = BASE+22
Error writing to the DataStore component. Unexpected cache block contents.

DataStoreException methods

tooManyErrors()

  public static final void tooManyErrors()