borland Packages  Class Hierarchy  datastore Package 

DataStoreException class

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

About the DataStoreException class

Variables  Properties  Methods  

Implements ChainedException, Serializable

DataStoreException enumerates DataStore-specific exceptions.

The BASE value for the class variables is 2000.


DataStoreException variables

Variables implemented in this class

Variables implemented in com.borland.dx.dataset.DataSetException

DataStoreException properties

*Read-only properties **Write-only properties

Properties implemented in com.borland.dx.dataset.DataSetException

Properties implemented in java.lang.Object

Properties implemented in java.lang.Throwable

DataStoreException methods

Methods implemented in com.borland.dx.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 com.borland.dx.dataset.AggOperator class could not be loaded. Check the classpath setting for your application.

BIGDECIMAL_PRECISION_ERROR

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

CANNOT_OPEN

  public static final int CANNOT_OPEN = BASE+47
Could not open the DataStore file specified in the fileName property. Make sure you have permission to access the file.

CANNOT_RESTRUCTURE

  public static final int CANNOT_RESTRUCTURE = BASE+8
Cannot restructure when a table is opened by more than one StorageDataSet.

CANT_CREATE_OPEN_STREAM

  public static final int CANT_CREATE_OPEN_STREAM = BASE+32
Cannot create or delete a stream 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.

CONNECTION_COUNT_EXCEEDED

  public static final int CONNECTION_COUNT_EXCEEDED = BASE+50
The connection count exceeded for your DataStore license.

DATA_HAS_DUPLICATES

  public static final int DATA_HAS_DUPLICATES = BASE+44
An attempt to create a unique index failed because the table had duplicate row values for the given column combination.

DATASET_ALREADY_OPEN

  public static final int DATASET_ALREADY_OPEN = BASE+7
Attempt to open table with a StorageDataSet that has a different set of columns.

DATASET_EXISTS

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

DATASTORE_ALREADY_OPEN

  public static final int DATASTORE_ALREADY_OPEN = BASE+30
DataStore is already open by another process. Multiple connections are allowed only from the same 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
File specified by fileName property does not appear to be a valid DataStore file. The file signature or size is invalid.

DATASTORE_IS_UNLICENSED

  public static final int DATASTORE_IS_UNLICENSED = BASE+49
The DataStore is unlicensed.

DATASTORE_NOT_FOUND

  public static final int DATASTORE_NOT_FOUND = BASE+11
Could not find the DataStore file specified in the fileName property, or the property is null. Make sure the property is set to the name of an existing file.

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. This is different than a ValidationException.DUPLICATE_KEY error; this error is an internal unexpected key violation, not a unique constraint violation.

FILE_EXISTS

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

INCOMPATIBLE_BLOCK_SIZE

  public static final int INCOMPATIBLE_BLOCK_SIZE = BASE+46
Incompatible DataStore.blockSize property for copyStream operation. When copying between two DataStores, both DataStores must have the same DataStore.BlockSize property setting. (This requirement may be removed in the future.)

INLINE_TOO_SMALL

  public static final int INLINE_TOO_SMALL = BASE+42
Column.MaxInline property setting is too small.

INVALID_DIRECTORY_ATTRIBUTES

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

This is an unexpected internal error symptomatic of a corrupted DataStore file. It is recommended that you use the DataStore Explorer or the DataStoreConnection.copyStreams method to save all other streams to a new DataStore. See the section on verifying and repairing DataStores in the documentation for the DataStore component.

INVALID_PATTERN

  public static final int INVALID_PATTERN = BASE+45
Invalid escape sequence in string pattern; the escape character '\' can only precede '*', '?' or '\'

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
The DataStore file cannot be opened because it was created by a newer a version of the DataStore.

OLDER_VERSION

  public static final int OLDER_VERSION = BASE+41
Cannot perform operation on DataStore because it was created with an older version of DataStore. To upgrade the DataStore file, use DataStoreConnection.copyStreams().

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.

This is an unexpected internal error symptomatic of a corrupted DataStore file. It is recommended that you use the DataStore Explorer or the DataStoreConnection.copyStreams method to save all other streams to a new DataStore. See the section on verifying and repairing DataStores in the documentation for the DataStore component.

READ_ONLY

  public static final int READ_ONLY = BASE+40
Write operation failed because the DataStore is read only.

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. See the Data type coercions table in the documentation for the DataStore component.

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.

This is an unexpected internal error symptomatic of a corrupted DataStore file. It is recommended that you use the DataStore Explorer or the DataStoreConnection.copyStreams method to save all other streams to a new DataStore. See the section on verifying and repairing DataStores in the documentation for the DataStore component.

ROW_TOO_WIDE

  public static final int ROW_TOO_WIDE = BASE+6
Maximum row size exceeded. Too many columns total, or too many with a high Column.maxInline property setting. There are two ways to remedy this problem:

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
Unexpected internal condition. Operation not supported on this stream.

STREAM_CLOSED

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

STREAM_NOT_FOUND

  public static final int STREAM_NOT_FOUND = BASE+33
Stream not found in DataStore.

STREAM_OPEN_TWICE

  public static final int STREAM_OPEN_TWICE = BASE+14
Unexpected internal condition. Shut down and reopen the DataStore.

See also: DataStore.open() method, DataStore.shutdown() method

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
Previous update failed. Shut down and reopen the DataStore.

See also: DataStore.open() method, DataStore.shutdown() method

WRITE_BLOCK_ERROR

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

This is an unexpected internal error symptomatic of a corrupted DataStore file. It is recommended that you use the DataStore Explorer or the DataStoreConnection.copyStreams method to save all other streams to a new DataStore. See the section on verifying and repairing DataStores in the documentation for the DataStore component.