borland Packages Class Hierarchy datastore Package Index
java.lang.Object +----java.lang.Throwable +----java.lang.Exception +----borland.jbcl.dataset.DataSetException +----borland.datastore.DataStoreException
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.
public static final int AGG_OPERATOR_NOT_FOUND = BASE+24The AggOperator class could not be loaded. Check the classpath setting for your project.
public static final int BIGDECIMAL_PRECISION_ERROR = BASE+29The precision of BigDecimal was exceeded.
public static final int CANNOT_RESTRUCTURE = BASE+8Cannot restructure a DataSet from two different StorageDataSet components.
public static final int CANT_CREATE_OPEN_FILE = BASE+32Can't create a file 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 DATASET_ALREADY_OPEN = BASE+8Table can only be opened by one StorageDataSet at a time.
public static final int DATASET_EXISTS = BASE+35Cannot create a file stream with the same name as an existing DataSet.
public static final int DATASTORE_ALREADY_OPEN = BASE+30DataStore is already open by this or another 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+12
public static final int DATASTORE_NOT_FOUND = BASE+11Operation failed. DataStore not found.
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.
public static final int FILE_EXISTS = BASE+36Cannot create a DataSet stream with the same name as an existing file.
public static final int FILE_NOT_FOUND = BASE+33File not found in DataStore.
public static final int INVALID_DIRECTORY_ATTRIBUTES = BASE+24Cannot open the DataSet because it has invalid directory attributes.
public static final int INVALID_KEY_COLUMN = BASE+5Internal Error. Invalid Column type for key.
public static final int INVALID_STORE_NAME = BASE+18
public static final int INVALID_TRANSACTION_OPERATION = BASE+21Invalid transaction operation for the DataStore component.
public static final int IO_EXCEPTION = BASE+7
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+34DataStore cannot be opened because it was created by a newer a version of the DataStore component.
public static final int OPEN_CLOSE_FAILED = BASE+20Open or close operation failed.
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.
public static final int RECOVERY_MANAGER_OPEN = BASE+37Recovery manager already opened by a DataStore.
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.
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.
public static final int ROW_TOO_WIDE = BASE+6Max row size exceeded. Too many columns and/or high column precisions used.
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+16
public static final int STREAM_CLOSED = BASE+31InputStream from a DataStore has been closed and is no longer accessable.
public static final int STREAM_OPEN_TWICE = BASE+14
public static final int TOO_MANY_ERRORS = BASE+39Too many errors detected by the stream verifier.
public static final int UPDATE_FAILED = BASE+13
public static final int WRITE_BLOCK_ERROR = BASE+22Error writing to the DataStore component. Unexpected cache block contents.
public static final void tooManyErrors()