borland Packages  Class Hierarchy  dx.dataset Package 

DataSetException class

java.lang.Object
   +----java.lang.Throwable
           +----java.lang.Exception
                   +----com.borland.dx.dataset.DataSetException
                           +----com.borland.datastore.DataStoreException
                           +----com.borland.datastore.TxException
                           +----com.borland.dx.dataset.ValidationException
                           +----com.borland.dx.sql.dataset.ResolutionException

About the DataSetException class

Variables  Constructors  Properties  Methods  

Implements ChainedException, Serializable

The DataSetException class extends the java.lang.Exception class and is used heavily by the dataset package. It encapsulates common errors that can be generated, and methods necessary to access this error information.

The DataSetException class can have other types of exceptions chained to them, for example, java.io.IOException and java.sql.SQLException exceptions. In these cases the DataSetException has an appropriate message that describes the error from the perspective of the DataExpress level API.

Programmatically, use the getExceptionChain() to obtain any chained exception. A chained exception (a singly linked list) can contain non-DataSetException exceptions that were encountered at a lower level API.


DataSetException variables

Variables implemented in this class

DataSetException constructors

DataSetException properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

Properties implemented in java.lang.Throwable

DataSetException methods

Methods implemented in this class

Methods implemented in java.lang.Object

Methods implemented in java.lang.Throwable


DataSetException variables

ALREADY_LOADING

  public static final int ALREADY_LOADING = BASE+28
The DataSet cannot be loaded or is not in load mode. Unexpected Internal error.

BAD_PROCEDURE_PROPERTIES

  public static final int BAD_PROCEDURE_PROPERTIES = BASE+89
The database or procedure property is not set.

BAD_QUERY_PROPERTIES

  public static final int BAD_QUERY_PROPERTIES = BASE+1
One or more connection properties of the Database, or the query properties of the QueryDataSet are not set.

CANNOT_CHANGE_COLUMN

  public static final int CANNOT_CHANGE_COLUMN = BASE+70
Cannot make the requested change to the Column. Use Column.clone() before applying changes.

CANNOT_CHANGE_COLUMN_DATA_TYPE

  public static final int CANNOT_CHANGE_COLUMN_DATA_TYPE = BASE+14
Cannot change the data type of the Column because the Column already contains data.

CANNOT_FIND_TABLE_NAME

  public static final int CANNOT_FIND_TABLE_NAME = BASE+7
Cannot determine the table name for the query property of the QueryDataSet from metadata or from parsing the query property.

CANNOT_IMPORT_NULL_DATASET

  public static final int CANNOT_IMPORT_NULL_DATASET = BASE+9
The DataSet must contain Columns before data can be imported.

CANNOT_REFRESH

  public static final int CANNOT_REFRESH = BASE+77
Cannot refresh the current DataSet.

CANNOT_SAVE_CHANGES

  public static final int CANNOT_SAVE_CHANGES = BASE+76
Cannot save changes in the current DataSet.

CANNOT_UPDATE_SCOPED_DATA_ROW

  public static final int CANNOT_UPDATE_SCOPED_DATA_ROW = BASE+30
Cannot modify Column elements in a scoped DataRow. Create a new scoped DataRow if needed.

CLASS_NOT_FOUND_ERROR

  public static final int CLASS_NOT_FOUND_ERROR = BASE+99
Class could not be found during serialization.

COLUMN_ALREADY_BOUND

  public static final int COLUMN_ALREADY_BOUND = BASE+13
The Column is already bound to a DataSet. Use Column.clone() to add this column.

COLUMN_NOT_IN_ROW

  public static final int COLUMN_NOT_IN_ROW = BASE+19
The Column is in the DataSet but was excluded from the row.

COLUMN_TYPE_CONFLICT

  public static final int COLUMN_TYPE_CONFLICT = BASE+11
Failed to add a Column with the same name, but different data type as an existing Column.

CONNECTION_DESCRIPTOR_NOT_SET

  public static final int CONNECTION_DESCRIPTOR_NOT_SET = BASE+45
Cannot open a Database unless the ConnectionDescriptor is set.

CONNECTION_NOT_CLOSED

  public static final int CONNECTION_NOT_CLOSED = BASE+80
The connection could not be closed.

DATA_FILE_LOAD_FAILED

  public static final int DATA_FILE_LOAD_FAILED = BASE+60
The DataFile load operation failed.

DATASET_CORRUPT

  public static final int DATASET_CORRUPT = BASE+35
Operation failed. The DataSet structure is corrupt.

DATASET_HAS_NO_ROWS

  public static final int DATASET_HAS_NO_ROWS = BASE+41
Invalid access on an empty DataSet. If working with a master-detail relationship where the master DataSet has no rows and the details are being fetched as needed, add persistent Columns to the detail DataSet. This allows the initialization logic to determine the Columns of the detail DataSet.

DATASET_HAS_NO_TABLES

  public static final int DATASET_HAS_NO_TABLES = BASE+18
Save operation failed. None of the DataSet class Columns that are updateable have a table name.

DATASET_NOT_OPEN

  public static final int DATASET_NOT_OPEN = BASE+42
Operation failed. The DataSet is not open.

DATASET_OPEN

  public static final int DATASET_OPEN = BASE+39
Operation cannot be performed on an open DataSet. Close the DataSet first.

DELETE_DUPLICATES

  public static final int DELETE_DUPLICATES = BASE+105
Delete existing duplicates before creating a new unique sort. Use the StorageDataSet.deleteDuplicates() method to delete the duplicates.

DRIVER_NOT_LOADED_AT_RUNTIME

  public static final int DRIVER_NOT_LOADED_AT_RUNTIME = BASE+83
The specified driver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath. Modify the classpath in the project properties.

DRIVER_NOT_LOADED_IN_DESIGN

  public static final int DRIVER_NOT_LOADED_IN_DESIGN = BASE+82
The specified driver could not be loaded.

DUPLICATE_COLUMN_NAME

  public static final int DUPLICATE_COLUMN_NAME = BASE+36
Duplicate value for the columnName property in this DataSet.

DUPLICATE_PRIMARY

  public static final int DUPLICATE_PRIMARY = BASE+110
Attempt to specify different primary key when one already exists.

EMPTY_COLUMN_NAMES

  public static final int EMPTY_COLUMN_NAMES = BASE+20
List of Columns is null or empty.

errorCode

  protected int errorCode
Stores the error code that describes the reason for this DataSetException.

EXCEPTION_CHAIN

  public static final int EXCEPTION_CHAIN = BASE+47
Chained exception. To access the lower level exception(s), call getExceptionChain(). Call printStackTrace to display all exceptions in the chain.

exceptionChain

  protected ExceptionChain exceptionChain
The Exception chain that can be traversed. This variable is returned by the exceptionChain property.

FIELD_POST_ERROR

  public static final int FIELD_POST_ERROR = BASE+81
The field value cannot be posted. This error occurs when a DataSet requests that a data aware control post field values being edited and the field value cannot be posted (most likely due to a ValidationException error). There is no additional information available on why a post failed.

GENERIC_ERROR

  public static final int GENERIC_ERROR = BASE+0
Undefined error.

INCOMPATIBLE_DATA_ROW

  public static final int INCOMPATIBLE_DATA_ROW = BASE+31
Attempted to use a DataRow with a DataSet that are no longer synchronized. A DataRow must be created with the DataSet it is used with. If the structure of a DataSet changes, a new DataRow must be created for it.

INSUFFICIENT_ROWID

  public static final int INSUFFICIENT_ROWID = BASE+73
The DataSet.refetchRow() method was called with an insufficient rowId (row identifier).

INVALID_AGG_DESCRIPTOR

  public static final int INVALID_AGG_DESCRIPTOR = BASE+46
Operation failed. The AggDescriptor has no groupColumns, or some groupColumns do not exist in the DataSet.

INVALID_CLASS

  public static final int INVALID_CLASS = BASE+106
The class is not valid.

INVALID_COLUMN_POSITION

  public static final int INVALID_COLUMN_POSITION = BASE+12
The Column position is out of range.

INVALID_COLUMN_TYPE

  public static final int INVALID_COLUMN_TYPE = BASE+49
Operation failed. Invalid Column data type for a DataSet.

INVALID_DATA_FILE_FORMAT

  public static final int INVALID_DATA_FILE_FORMAT = BASE+32
Attempt load or save a DataSet with an invalid dataFileFormat property setting. See DataFileFormat for valid file format settings.

INVALID_FORMAT

  public static final int INVALID_FORMAT = BASE+71
Column formatting error for default, min, or max values using edit mask or display format.

INVALID_ITERATOR_USE

  public static final int INVALID_ITERATOR_USE = BASE+109
The iterator operation is not allowed on this row.

This exception is typically caused because:

INVALID_SCHEMA_FILE

  public static final int INVALID_SCHEMA_FILE = BASE+50
Invalid schema file.

INVALID_SORT_AS_INSERTED

  public static final int INVALID_SORT_AS_INSERTED = BASE+111
Sort as inserted not supported with descending sort orders.

INVALID_SORT_COLUMN

  public static final int INVALID_SORT_COLUMN = BASE+48
Operation failed. Attempt to sort on non sortable Column, for example a Binary Column.

INVALID_STORE_CLASS

  public static final int INVALID_STORE_CLASS = BASE+108
The operation failed. The table cannot be opened with the specified class; it must be opened with a different class.

INVALID_STORE_NAME

  public static final int INVALID_STORE_NAME = BASE+104
The value specified for the storeName property must be one or more characters in length.

IO_ERROR

  public static final int IO_ERROR = BASE+79
Operation failed due to an IO error.

LINK_COLUMNS_ERROR

  public static final int LINK_COLUMNS_ERROR = BASE+33
The number and data type of Columns in the MasterLinkColumns and DetailLinkColumns must match.

LINKFIELD_IN_USERPARAMETERS

  public static final int LINKFIELD_IN_USERPARAMETERS = BASE+86
The specified column in the DetailLinkColumns should not be included in the parameterRow.

LOADING_NOT_STARTED

  public static final int LOADING_NOT_STARTED = BASE+29
Cannot load data into the DataSet. The DataSet is not in load mode. Unexpected Internal error.

MASTER_DETAIL_VIEW_ERROR

  public static final int MASTER_DETAIL_VIEW_ERROR = BASE+34
The SortDescriptor keys property setting is not compatible with the DataSet linkColumns property. The keys property must start with all the Columns specified in the masterLinkColumns and detailColumns properties.

MASTER_NAVIGATION_ERROR

  public static final int MASTER_NAVIGATION_ERROR = BASE+43
Error in navigating master DataSet.

MISMATCH_PARAM_RESULT

  public static final int MISMATCH_PARAM_RESULT = BASE+93
The output parameters of this procedure did not match the specification.

MISMATCHED_PARAMETER_FORMAT

  public static final int MISMATCHED_PARAMETER_FORMAT = BASE+5
Cannot mix named parameters and '?' parameter markers.

MISSING_MASTER_DATASET

  public static final int MISSING_MASTER_DATASET = BASE+65
Detail DataSet being resolved without a master DataSet.

MISSING_REPLACESTOREROW

  public static final int MISSING_REPLACESTOREROW = BASE+102
Unexpected internal error.

MISSING_RESOLVER

  public static final int MISSING_RESOLVER = BASE+64
The Resolver object is missing.

MULTIPLE_ROWS_AFFECTED

  public static final int MULTIPLE_ROWS_AFFECTED = BASE+38
More than one row was affected by resolution query (either DELETE or UPDATE query).

NEED_LOCATE_START_OPTION

  public static final int NEED_LOCATE_START_OPTION = BASE+24
Must specify one of FIRST, LAST, NEXT, PRIOR for locate operations. See com.borland.dx.dataset.Locate

NEED_PROCEDUREPROVIDER

  public static final int NEED_PROCEDUREPROVIDER = BASE+96
A ProcedureProvider is required.

NEED_QUERYPROVIDER

  public static final int NEED_QUERYPROVIDER = BASE+95
A QueryProvider is required.

NEED_STORAGEDATASET

  public static final int NEED_STORAGEDATASET = BASE+90
The fetchAsNeeded property cannot be set on the masterLinkDescriptor on a DataSetView.

NEEDS_RECALC

  public static final int NEEDS_RECALC = BASE+107
The data set must be recalculated.

NO_CALC_AGG_FIELDS

  public static final int NO_CALC_AGG_FIELDS = BASE+92
Operation failed. There is a CalcAggFieldsListener, but no Columns with a calcType property set to AGGREGATE.

NO_CALC_FIELDS

  public static final int NO_CALC_FIELDS = BASE+44
Operation failed. There is a CalcFieldsListener, but no Columns with the calcType property set to CALC.

NO_DATABASE_TO_RESOLVE

  public static final int NO_DATABASE_TO_RESOLVE = BASE+97
Cannot resolve data, since the Database property is not set on the Resolver.

NO_NON_BLOB_COLUMNS

  public static final int NO_NON_BLOB_COLUMNS = BASE+21
Operation cannot be completed. The DataSet has no non-blob Columns.

NO_PRIMARY_KEY

  public static final int NO_PRIMARY_KEY = BASE+111
Operation failed. There was an attempt to specify a primary sort without specifying any sortKey columns.

NO_PRIOR_ORIGINAL_ROW

  public static final int NO_PRIOR_ORIGINAL_ROW = BASE+100
When an updated row is loaded by StorageDataSet.loadRow(int status), the original row must be loaded immediately prior to the updated row.

NO_RESULT_SET

  public static final int NO_RESULT_SET = BASE+78
Execution of query did not return a result set.

NO_ROWS_AFFECTED

  public static final int NO_ROWS_AFFECTED = BASE+51
No row was affected by resolution query (either DELETE or UPDATE query).

NO_UPDATABLE_COLUMNS

  public static final int NO_UPDATABLE_COLUMNS = BASE+8
Could not find any updateable columns when saving DataSet data.

NO_WHERE_CLAUSE

  public static final int NO_WHERE_CLAUSE = BASE+40
A QueryDataSet that uses delayed detail fetching must have a where clause in its query property.

NON_EXISTENT_ROWID

  public static final int NON_EXISTENT_ROWID = BASE+74
DataSet.refetchRow() was called with a non existent rowId (row identifier).

NOT_DATABASE_RESOLVER

  public static final int NOT_DATABASE_RESOLVER = BASE+67
Trying to use the Database component to save changes to a DataSet with a non DatabaseResolver derived resolver.

NOT_SELECT_QUERY

  public static final int NOT_SELECT_QUERY = BASE+2
Not a SELECT query, can't be parsed.

NOT_UPDATEABLE

  public static final int NOT_UPDATEABLE = BASE+37
The DataSet has no unique row identifiers and is not updateable.

NULL_COLUMN_NAME

  public static final int NULL_COLUMN_NAME = BASE+68
Trying to perform an operation that requires a column name without having specified one.

ONEPASS_INPUT_STREAM

  public static final int ONEPASS_INPUT_STREAM = BASE+72
Attempting to read twice from a input stream that doesn't support reset().

PARAMETER_COUNT_MISMATCH

  public static final int PARAMETER_COUNT_MISMATCH = BASE+6
Mismatch between number of parameters markers in query and number of parameters in the ReadRow.

PARTIAL_SEARCH_FOR_STRING

  public static final int PARTIAL_SEARCH_FOR_STRING = BASE+23
Partial search option can only be used when last column searched on is of String type.

PROCEDURE_FAILED

  public static final int PROCEDURE_FAILED = BASE+103
Execution of the stored procedure failed.

PROCEDURE_IN_PROCESS

  public static final int PROCEDURE_IN_PROCESS = BASE+94
A procedure is already in progress for this DataSet.

PROVIDER_FAILED

  public static final int PROVIDER_FAILED = BASE+87
Execution of the Provider failed.

PROVIDER_OWNED

  public static final int PROVIDER_OWNED = BASE+88
The Provider is already owned by another DataSet.

QUERY_FAILED

  public static final int QUERY_FAILED = BASE+62
Execution of query failed.

QUERY_IN_PROCESS

  public static final int QUERY_IN_PROCESS = BASE+26
A query is already in progress for this DataSet.

READ_ONLY_STORE

  public static final int READ_ONLY_STORE = BASE+101
Store property is set to read only.

REFRESHROW_NOT_SUPPORTED

  public static final int REFRESHROW_NOT_SUPPORTED = BASE+75
The current DataSet does not support a refetch row operation.

REOPEN_FAILURE

  public static final int REOPEN_FAILURE = BASE+61
Failure notification to dependent components of a DataSet reopen.

RESOLVE_FAILED

  public static final int RESOLVE_FAILED = BASE+63
Resolve failed.

RESOLVE_IN_PROGRESS

  public static final int RESOLVE_IN_PROGRESS = BASE+69
The DataSet changes are currently being saved. Retry operation later.

RESTRUCTURE_IN_PROGRESS

  public static final int RESTRUCTURE_IN_PROGRESS = BASE+27
Operation failed. A restructure operation is already in progress.

SET_CALCULATED_FAILURE

  public static final int SET_CALCULATED_FAILURE = BASE+15
Cannot set the calcType property for Columns that already have data.

SQL_ERROR

  public static final int SQL_ERROR = BASE+66
A SQLException from JDBC API.

TRANSACTION_ISOLATION_LEVEL_NOT_SUPPORTED

  public static final int TRANSACTION_ISOLATION_LEVEL_NOT_SUPPORTED = BASE+22
Driver does not support this (or any higher) transaction isolation level.

UNEXPECTED_END_OF_QUERY

  public static final int UNEXPECTED_END_OF_QUERY = BASE+3
Unexpected end of query; can't be parsed.

UNKNOWN_COLUMN_NAME

  public static final int UNKNOWN_COLUMN_NAME = BASE+10
Cannot find a Column with the given columnName.

UNKNOWN_DETAIL_NAME

  public static final int UNKNOWN_DETAIL_NAME = BASE+98
Cannot find the specified detail DataSet.

UNKNOWN_PARAM_NAME

  public static final int UNKNOWN_PARAM_NAME = BASE+4
No matching named query parameter could be found.

UNRECOGNIZED_DATA_TYPE

  public static final int UNRECOGNIZED_DATA_TYPE = BASE+16
Unknown Variant data type.

URL_NOT_FOUND

  public static final int URL_NOT_FOUND = BASE+84
The specified URL could not be found. Check for misspellings, and that the correct driver is present on the classpath.

URL_NOT_FOUND_IN_DESIGN

  public static final int URL_NOT_FOUND_IN_DESIGN = BASE+85
The specified URL could not be found. Check for misspellings, and that the correct driver is present on the class path.

WRONG_DATABASE

  public static final int WRONG_DATABASE = BASE+91
The database property of the ProcedureDescriptor doesn't match the database being resolved to.

DataSetException constructors

DataSetException(int, java.lang.String)

  public DataSetException(int errorCode, String message)
Creates a DataSetException object with a single error.

Parameters:

errorCode
The error code generated.
message
The text message associated with the error code.

DataSetException(int, java.lang.String, com.borland.jb.util.ExceptionChain)

  public DataSetException(int errorCode, String message, ExceptionChain chain)
Creates a DataSetException object with properties as specified in its parameters.

Parameters:

errorCode
The error code generated.
message
The text message associated with the error code.
chain
The ExceptionChain object that contains the linked list of generated Exception objects.

DataSetException(int, java.lang.String, java.lang.Throwable)

  public DataSetException(int errorCode, String message, Throwable ex)
Creates a DataSetException object with properties as specified in its parameters.

Parameters:

message
The text message associated with the error code.
ex
The Exception that was generated.

DataSetException(java.lang.String)

  public DataSetException(String message)
Creates a DataSetException object with the specified message.

Parameters:

message
The text message associated with the error code.

DataSetException properties

errorCode

 public int getErrorCode()
Read-only property that returns the error code associated with the DataSetException.

exceptionChain

 public ExceptionChain getExceptionChain()
Read-only property that returns a chained Exception through a com.borland.jb.util.ExceptionChain object. The chained exception (a singly linked list) includes non-DataSetExceptions that were encountered at a lower level API.

DataSetException methods

addExceptionListener(com.borland.dx.dataset.ExceptionListener)

  public static final void addExceptionListener(ExceptionListener listener)
Adds a listener for ExceptionListener dispatches.

badProcedureProperties()

  public static final void badProcedureProperties()
Creates and throws a DataSetException of BAD_PROCEDURE_PROPERTIES when one or more properties of the ProcedureDescriptor are invalid.

badQueryProperties()

  public static final void badQueryProperties()
Creates and throws a DataSetException of BAD_QUERY_PROPERTIES when one or more properties of the QueryDescriptor are invalid.

classNotFoundException(java.lang.ClassNotFoundException)

  public static final void classNotFoundException(ClassNotFoundException ex)
Creates and throws a DataSetException of CLASS_NOT_FOUND_ERROR.

connectionDescriptorNotSet()

  public static final void connectionDescriptorNotSet()
Creates and throws a DataSetException of CONNECTION_DESCRIPTOR_NOT_SET when the connection properties associated with connecting to a Database are not set. These properties are stored in the ConnectionDescriptor object.

connectionNotClosed(java.lang.Exception)

  public static final void connectionNotClosed(Exception ex)
Creates and throws a DataSetException of CONNECTION_NOT_CLOSED.

dataSetHasNoTable()

  public static final void dataSetHasNoTable()
Creates and throws a DataSetException of DATASET_HAS_NO_TABLES.

dataSetNotOpen()

  public static final void dataSetNotOpen()
Creates and throws a DataSetException of DATASET_NOT_OPEN.

deleteDuplicates()

  public static final void deleteDuplicates()
Creates and throws a DataSetException of DELETE_DUPLICATES.

driverNotLoadedAtRuntime(java.lang.String)

  public static final void driverNotLoadedAtRuntime(String driver)
Creates and throws a DataSetException of DRIVER_NOT_LOADED_At_RUNTIME.

driverNotLoadedInDesign(java.lang.String)

  public static final void driverNotLoadedInDesign(String driver)
Creates and throws a DataSetException of DRIVER_NOT_LOADED_IN_DESIGN.

getExceptionListeners()

  public static final EventMulticaster getExceptionListeners()
Return listeners added by addExceptionListeners.

insufficientRowId()

  public static final void insufficientRowId()
Creates and throws a DataSetException of INSUFFICIENT_ROWID.

invalidClass(java.lang.Class)

  public static final void invalidClass(Class javaClass)
Creates and throws a DataSetException of INVALID_CLASS.

invalidClass(java.lang.String, java.lang.String)

  public static final void invalidClass(String storeClassName, String className)
Creates and throws a DataSetException of INVALID_CLASS.

invalidColumnType(com.borland.dx.dataset.Column)

  public static final void invalidColumnType(Column column)
Creates and throws a DataSetException of INVALID_COLUMN_TYPE.

invalidSQLType(int)

  public static final void invalidSQLType(int sqlType)
Creates and throws a DataSetException of INVALID_COLUMN_TYPE.

invalidStoreName(java.lang.String)

  public static final void invalidStoreName(String name)
Creates and throws a DataSetException of INVALID_STORE_NAME when the value of the storeName property is blank.

IOException(java.io.IOException)

  public static final void IOException(IOException ex)
Creates and throws an IOError exception.

mismatchedParameterFormat()

  public static final void mismatchedParameterFormat()
Creates and throws a DataSetException of MISMATCHED_PARAMETER_FORMAT.

mismatchParamResult()

  public static final void mismatchParamResult()
Creates and throws a DataSetException of MISMATCH_PARAM_RESULT.

missingMasterDataSet()

  public static final void missingMasterDataSet()
Creates and throws a DataSetException of MISSING_MASTER_DATASET.

mkUrlNotFound(java.lang.String, java.lang.Exception)

  public static final DataSetException mkUrlNotFound(String url, Exception ex)
Creates and throws a DataSetException of URL_NOT_FOUND.

mkUrlNotFoundInDesign(java.lang.String, java.lang.Exception)

  public static final DataSetException mkUrlNotFoundInDesign(String url, Exception ex)
Creates and throws a DataSetException of URL_NOT_FOUND_IN_DESIGN.

multipleRowsAffected(java.lang.String)

  public static final void multipleRowsAffected(String message)
Creates and throws a DataSetException of MULTIPLE_ROWS_AFFECTED.

needProcedureProvider()

  public static final void needProcedureProvider()
Creates and throws a DataSetException of NEED_PROCEDUREPROVIDER.

needQueryProvider()

  public static final void needQueryProvider()
Creates and throws a DataSetException of NEED_QUERYPROVIDER.

needsRecalc(java.lang.String)

  public static final void needsRecalc(String storeName)
Creates and throws a DataSetException of NEEDS_RECALC.

noDatabaseOnResolver()

  public static final void noDatabaseOnResolver()
Creates and throws a DataSetException of NO_DATABASE_TO_RESOLVE.

nonExistentRowId()

  public static final void nonExistentRowId()
Creates and throws a DataSetException of NON_EXISTENT_ROWID.

noResultSet()

  public static final void noResultSet()
Creates and throws a DataSetException of NO_RESULT_SET.

noRowsAffected(java.lang.String)

  public static final void noRowsAffected(String message)
Creates and throws a DataSetException of NO_ROWS_AFFECTED.

notDatabaseResolver()

  public static final void notDatabaseResolver()
Creates and throws a DataSetException of NOT_DATABASE_RESOLVER.

notSelectQuery()

  public static final void notSelectQuery()
Creates and throws a DataSetException of NOT_SELECT_QUERY.

notSortable()

  public static final void notSortable()
Creates and throws a DataSetException of INVALID_SORT_COLUMN.

noUpdatableColumns()

  public static final void noUpdatableColumns()
Creates and throws a DataSetException of NO_UPDATABLE_COLUMNS.

noWhereClause(com.borland.dx.dataset.DataSet)

  public static final void noWhereClause(DataSet dataSet)
Creates and throws a DataSetException of NO_WHERE_CLAUSE.

onePassInputStream(com.borland.dx.dataset.Column)

  public static final void onePassInputStream(Column column)
Creates and throws a DataSetException of ONEPASS_INPUT_STREAM.

parameterCountMismatch(int, int, int)

  public static final void parameterCountMismatch(int paramCount, int paramRowCount, int paramMasterCount)
Creates and throws a DataSetException of PARAMETER_COUNT_MISMATCH.

printStackTrace()

  public void printStackTrace()
Prints the stack trace and the ExceptionChain object, if not null.

Overrides: java.lang.Throwable.printStackTrace()

printStackTrace(java.io.PrintStream)

  public void printStackTrace(java.io.PrintStream out)
Overrides the base class implementation of printStackTrace() to display the error code and any exceptions that may be chained to it.

Overrides: java.lang.Throwable.printStackTrace(java.io.PrintStream)

procedureFailed(java.lang.Exception)

  public static final void procedureFailed(Exception ex)
Creates and throws a DataSetException of PROCEDURE_FAILED.

procedureInProcess()

  public static final void procedureInProcess()
Creates and throws a DataSetException of PROCEDURE_IN_PROCESS.

providerFailed(java.lang.Exception)

  public static final void providerFailed(Exception ex)
Creates and throws a DataSetException of PROVIDER_FAILED.

providerOwned()

  public static final DataSetException providerOwned()
Creates and throws a DataSetException of PROVIDER_OWNED.

queryFailed(java.lang.Exception)

  public static final void queryFailed(Exception ex)
Creates and throws a DataSetException of QUERY_FAILED.

queryInProcess()

  public static final void queryInProcess()
Creates and throws DataSetException of QUERY_IN_PROCESS.

readOnlyStore(java.lang.String)

  public static final void readOnlyStore(String dataSetName)
Creates and throws a DataSetException of READ_ONLY_STORE.

removeExceptionListener(com.borland.dx.dataset.ExceptionListener)

  public static final void removeExceptionListener(ExceptionListener listener)
Removes a listener for ExceptionListener dispatches.

resolveFailed(java.lang.Exception)

  public static final void resolveFailed(Exception ex)
Creates and throws a DataSetException of RESOLVE_FAILED.

SQLException(java.sql.SQLException)

  public static final void SQLException(SQLException ex)
Creates and throws a DataSetException of SQL_ERROR.

throwException(int, java.lang.Exception)

  public static final void throwException(int errorCode, Exception ex)
Creates and throws a DataSetException of type Exception.errorCode. Extracts the corresponding String message for that error using Exception.getMessage().

throwExceptionChain(java.lang.Throwable)

  public static final void throwExceptionChain(Throwable ex)
Creates and throws a DataSetException of type Throwable.

transactionIsolationLevelNotSupported()

  public static final void transactionIsolationLevelNotSupported()
Creates and throws DataSetException of TRANSACTION_ISOLATION_LEVEL_NOT_SUPPORTED.

unexpectedEndOfQuery()

  public static final void unexpectedEndOfQuery()
Creates and throws a DataSetException of UNEXPECTED_END_OF_QUERY.

unknownColumnName(java.lang.String)

  public static final void unknownColumnName(String columnName)
Creates and throws a DataSetException of UNKNOWN_COLUMN_NAME.

unknownDetailName(java.lang.String)

  public static final void unknownDetailName(String detailName)
Creates and throws a DataSetException of UNKNOWN_DETAIL_NAME.

unknownParamName(java.lang.String)

  public static final void unknownParamName(String columnName)
Creates and throws a DataSetException of UNKNOWN_PARAM_NAME.

unrecognizedDataType()

  public static final void unrecognizedDataType()
Creates and throws a DataSetException of UNRECOGNIZED_DATA_TYPE.

wrongDatabase()

  public static final void wrongDatabase()
Creates and throws DataSetException of WRONG_DATABASE.