    All Packages    This Package  Previous  Next

# Class sqlj.runtime.error.RuntimeRefErrors

    java.lang.Object
       |
       +----sqlj.runtime.error.Errors
               |
               +----sqlj.runtime.error.RuntimeRefErrors

public class RuntimeRefErrors
extends Errors

The RuntimeRefErrors class defines error constants used by the runtime reference implementation.

##

MULTI_ROW_SELECT_INTO
NO_ROW_SELECT_INTO
NULL_CONN_CTX
NULL_EXEC_CTX
PROFILE_NOT_FOUND
WRONG_NUM_COLS

##

RuntimeRefErrors()

##

raise_MULTI_ROW_SELECT_INTO()
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
raise_NO_ROW_SELECT_INTO()
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
raise_NULL_CONN_CTX()
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
raise_NULL_EXEC_CTX()
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
raise_PROFILE_NOT_FOUND(String, Exception)
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
raise_WRONG_NUM_COLS(int, int)
  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

##

PROFILE_NOT_FOUND

     public static final String PROFILE_NOT_FOUND

NO_ROW_SELECT_INTO

     public static final String NO_ROW_SELECT_INTO

MULTI_ROW_SELECT_INTO

     public static final String MULTI_ROW_SELECT_INTO

WRONG_NUM_COLS

     public static final String WRONG_NUM_COLS

NULL_CONN_CTX

     public static final String NULL_CONN_CTX

NULL_EXEC_CTX

     public static final String NULL_EXEC_CTX

##

RuntimeRefErrors

     public RuntimeRefErrors()

##

raise_PROFILE_NOT_FOUND

     public static void raise_PROFILE_NOT_FOUND(String profileName,
                                                Exception profileExcn) throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  Parameters:
    profileName - name of profile that can't be loaded
    profileExcn - exception describing problem
  Throws: SQLException
    this method always throws a SQLException

raise_NO_ROW_SELECT_INTO

     public static void raise_NO_ROW_SELECT_INTO() throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  SQLSTATE: 02000 -- no data

  Throws: SQLException
    this method always throws a SQLException

raise_MULTI_ROW_SELECT_INTO

     public static void raise_MULTI_ROW_SELECT_INTO() throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  SQLSTATE: 21000 -- cardinality violation

  Throws: SQLException
    this method always throws a SQLException

raise_WRONG_NUM_COLS

     public static void raise_WRONG_NUM_COLS(int expectedCols,
                                             int foundCols) throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  SQLSTATE: 21000 -- cardinality violation

  Parameters:
    expectedCols - the number of columns expected by the iterator
    foundCols - the number of columns found in the result set
  Throws: SQLException
    this method always throws a SQLException

raise_NULL_CONN_CTX

     public static void raise_NULL_CONN_CTX() throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  SQLSTATE: 08003 -- connection exception, connection does not exist.

  Throws: SQLException
    this method always throws a SQLException

raise_NULL_EXEC_CTX

     public static void raise_NULL_EXEC_CTX() throws SQLException

  Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

  Throws: SQLException
    this method always throws a SQLException

    All Packages    This Package  Previous  Next