Where Am I? Class Hierarchy All Classes All Fields and Methods

Class com.ibm.db.selector.SelectorException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----com.ibm.db.selector.SelectorException

public class SelectorException
extends RuntimeException

SelectorException represents exceptions that are raised by classes in com.ibm.db.selector package. The exception message and error code qualify the circumstances of the exception.


Field Index

COERCION
Error code indicating that data coercion from one type to another has failed.
COLUMN_NAME
Error code indicating that the specified column name cannot be found in the associated TableModel.
COLUMN_NUMBER
Error code indicating that the specified column number is outside of the range of available columns in the associated TableModel.
MAXIMUM_COLUMNS
Error code indicating that the specified maximum number of columns is invalid.
MAXIMUM_ROWS
Error code indicating that the specified maximum number of rows is invalid.
NO_MODEL
Error code indicating that data access has been attempted while there is no TableModel associated with a Selector.
ROW_NUMBER
Error code indicating that the specified row index is outside of the range of available rows in the associated TableModel.
START_COLUMN_NUMBER
Error code indicating that the specified start column number is outside of the range of available columns in the associated TableModel.
START_ROW_NUMBER
Error code indicating that the specified start row number is outside of the range of available rows in the associated TableModel.

Constructor Index

SelectorException(String, int)
Create a SelectorException with the supplied error message and error code.

Method Index

getErrorCode()
Return the error code associated with this exception.

Fields

COERCION
 public static final int COERCION
Error code indicating that data coercion from one type to another has failed.

COLUMN_NAME
 public static final int COLUMN_NAME
Error code indicating that the specified column name cannot be found in the associated TableModel.

COLUMN_NUMBER
 public static final int COLUMN_NUMBER
Error code indicating that the specified column number is outside of the range of available columns in the associated TableModel.

MAXIMUM_COLUMNS
 public static final int MAXIMUM_COLUMNS
Error code indicating that the specified maximum number of columns is invalid.

MAXIMUM_ROWS
 public static final int MAXIMUM_ROWS
Error code indicating that the specified maximum number of rows is invalid.

NO_MODEL
 public static final int NO_MODEL
Error code indicating that data access has been attempted while there is no TableModel associated with a Selector.

ROW_NUMBER
 public static final int ROW_NUMBER
Error code indicating that the specified row index is outside of the range of available rows in the associated TableModel.

START_COLUMN_NUMBER
 public static final int START_COLUMN_NUMBER
Error code indicating that the specified start column number is outside of the range of available columns in the associated TableModel.

START_ROW_NUMBER
 public static final int START_ROW_NUMBER
Error code indicating that the specified start row number is outside of the range of available rows in the associated TableModel.


Constructors

SelectorException
 public SelectorException(String message,
                          int errorCode) 
Create a SelectorException with the supplied error message and error code. Valid error codes are defined as public members on SelectorException.

Parameters:
message - the exception message.
errorCode - the exception error code.

Methods

getErrorCode
 public int getErrorCode() 
Return the error code associated with this exception.


Where Am I? Class Hierarchy All Classes All Fields and Methods