borland Packages Class Hierarchy datastore Package
java.lang.Object +----java.lang.Throwable +----java.lang.Exception +----com.borland.dx.dataset.DataSetException +----com.borland.datastore.DataStoreException
Variables Properties Methods
Implements ChainedException, Serializable
DataStoreException enumerates DataStore-specific exceptions.
The BASE value for the class variables is 2000.
public static final int AGG_OPERATOR_NOT_FOUND = BASE+24The com.borland.dx.dataset.AggOperator class could not be loaded. Check the classpath setting for your application.
public static final int BIGDECIMAL_PRECISION_ERROR = BASE+29The precision of a BigDecimal value was exceeded.
public static final int CANNOT_OPEN = BASE+47Could not open the DataStore file specified in the fileName property. Make sure you have permission to access the file.
public static final int CANNOT_RESTRUCTURE = BASE+8Cannot restructure when a table is opened by more than one StorageDataSet.
public static final int CANT_CREATE_OPEN_STREAM = BASE+32Cannot create or delete a stream that is still open.
public static final int COLUMN_NEEDS_RESTRUCTURE = BASE+9The Column component is new or its data type has changed. Restructure the DataSet.
public static final int CONNECTION_COUNT_EXCEEDED = BASE+50The connection count exceeded for your DataStore license.
public static final int DATA_HAS_DUPLICATES = BASE+44An attempt to create a unique index failed because the table had duplicate row values for the given column combination.
public static final int DATASET_ALREADY_OPEN = BASE+7Attempt to open table with a StorageDataSet that has a different set of columns.
public static final int DATASET_EXISTS = BASE+35Cannot create a file stream with the same name as an existing table stream.
public static final int DATASTORE_ALREADY_OPEN = BASE+30DataStore is already open by another process. Multiple connections are allowed only from the same process.
public static final int DATASTORE_EXISTS = BASE+17DataStore already exists; specify a name that does not already exist.
public static final int DATASTORE_INVALID = BASE+12File specified by fileName property does not appear to be a valid DataStore file. The file signature or size is invalid.
public static final int DATASTORE_IS_UNLICENSED = BASE+49The DataStore is unlicensed.
public static final int DATASTORE_NOT_FOUND = BASE+11Could 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.
public static final int DATASTORE_NOT_OPEN = BASE+10Operation failed. The DataStore is not open.
public static final int DATASTORE_OPEN = BASE+19Operation failed. Operation cannot be performed on an open DataStore.
public static final int DUPLICATE_KEY = BASE+4Operation 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.
public static final int FILE_EXISTS = BASE+36Cannot create a DataSet stream with the same name as an existing file stream.
public static final int INCOMPATIBLE_BLOCK_SIZE = BASE+46Incompatible 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.)
public static final int INLINE_TOO_SMALL = BASE+42Column.MaxInline property setting is too small.
public static final int INVALID_DIRECTORY_ATTRIBUTES = BASE+48Cannot 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.
public static final int INVALID_PATTERN = BASE+45Invalid escape sequence in string pattern; the escape character '\' can only precede '*', '?' or '\'
public static final int NAME_NOT_UNIQUE = BASE+15The name of the storage file or table being added or renamed is not unique.
public static final int NEWER_VERSION = BASE+34The DataStore file cannot be opened because it was created by a newer a version of the DataStore.
public static final int OLDER_VERSION = BASE+41Cannot perform operation on DataStore because it was created with an older version of DataStore. To upgrade the DataStore file, use DataStoreConnection.copyStreams().
public static final int OPERATION_CANCELED = BASE+25Operation canceled. Used for canceling long running operations like sorting or restructuring.
public static final int READ_BLOCK_ERROR = BASE+23Error 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.
public static final int READ_ONLY = BASE+40Write operation failed because the DataStore is read only.
public static final int RESTRUCTURE_DATA_LOSS = BASE+26Restructure 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.
public static final int RESTRUCTURE_PARSE_ERROR = BASE+28Restructure 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.
public static final int RESTRUCTURE_PRECISION_LOSS = BASE+27Restructure 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.
public static final int ROW_NOT_FOUND = BASE+38Unexpected 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.
public static final int ROW_TOO_WIDE = BASE+6Maximum 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:
public static final int STORE_NAME_NOT_SET = BASE+1Operation failed. The storeName property for Table component not set.
public static final int STORE_OPERATION_UNSUPPORTED = BASE+16Unexpected internal condition. Operation not supported on this stream.
public static final int STREAM_CLOSED = BASE+31InputStream from a DataStore has been closed and is no longer accessable.
public static final int STREAM_NOT_FOUND = BASE+33Stream not found in DataStore.
public static final int STREAM_OPEN_TWICE = BASE+14Unexpected internal condition. Shut down and reopen the DataStore.
public static final int TOO_MANY_ERRORS = BASE+39Too many errors detected by the stream verifier.
public static final int UPDATE_FAILED = BASE+13Previous update failed. Shut down and reopen the DataStore.
public static final int WRITE_BLOCK_ERROR = BASE+22Error 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.