Package sqlj.runtime.error

package sqlj.runtime.error

Class Index

  • Errors
  • ProfileErrors
  • ProfileErrorsText
  • ProfileErrorsText_de
  • ProfileErrorsText_fr
  • ProfileErrorsText_ja
  • ProfileRefErrors
  • ProfileRefErrorsText
  • ProfileRefErrorsText_de
  • ProfileRefErrorsText_fr
  • ProfileRefErrorsText_ja
  • RuntimeErrors
  • RuntimeErrorsText
  • RuntimeErrorsText_de
  • RuntimeErrorsText_fr
  • RuntimeErrorsText_ja
  • RuntimeRefErrors
  • RuntimeRefErrorsText
  • RuntimeRefErrorsText_de
  • RuntimeRefErrorsText_fr
  • RuntimeRefErrorsText_ja
  • Class sqlj.runtime.error.Errors

    Class sqlj.runtime.error.Errors

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

    public class Errors
    extends Object
    The Errors class contains error formatting routines used by the jsql.runtime package hierarchy. It contains a series of static methods which return localized strings or raise exceptions with localized messages.


    Variable Index

    o DEFAULT_SQLSTATE
    The default SQLState for exceptions raised by the raise_XXX methods.
    o INVALID_CLASS_DECLARATION_SQLSTATE
    SQLState value of exceptions raised when a generated iterator or connection context class id found to have missing or inaccessible members, or does not otherwise conform to the standard.
    o INVALID_COLUMN_NAME_SQLSTATE
    SQLState value of exceptions raised when a required named iterator column is not found in the associated runtime query.
    o INVALID_PROFILE_STATE_SQLSTATE
    SQLState value of exceptions raised when a profile cannot be loaded, or the profile loaded contains invalid data.
    o UNSUPPORTED_FEATURE_SQLSTATE
    SQLState value of exceptions raised when a SQL operation is executed or a class method is called that a runtime implementation does not support.

    Constructor Index

    o Errors()

    Method Index

    o getText(ResourceBundle, String)
    Returns the string corresponding to the message with the given key in the given resource bundle.
    o getText(ResourceBundle, String, Object)
    Returns the string corresponding to the message with the given key in the given resource bundle.
    o getText(ResourceBundle, String, Object, Object)
    Returns the string corresponding to the message with the given key in the given resource bundle.
    o getText(ResourceBundle, String, Object, Object, Object)
    Returns the string corresponding to the message with the given key in the given resource bundle.
    o getText(ResourceBundle, String, Object[])
    Returns the string corresponding to the message with the given key in the given resource bundle.
    o raiseError(String, ResourceBundle, String)
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle.
    o raiseError(String, ResourceBundle, String, Object)
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle.
    o raiseError(String, ResourceBundle, String, Object, Object)
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle.
    o raiseError(String, ResourceBundle, String, Object, Object, Object)
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle.
    o raiseError(String, ResourceBundle, String, Object[])
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle.

    Variables

    o DEFAULT_SQLSTATE
     public static final String DEFAULT_SQLSTATE
    
    The default SQLState for exceptions raised by the raise_XXX methods. This is "42000", syntax error or access rule violation.

    o UNSUPPORTED_FEATURE_SQLSTATE
     public static final String UNSUPPORTED_FEATURE_SQLSTATE
    
    SQLState value of exceptions raised when a SQL operation is executed or a class method is called that a runtime implementation does not support.

    o INVALID_CLASS_DECLARATION_SQLSTATE
     public static final String INVALID_CLASS_DECLARATION_SQLSTATE
    
    SQLState value of exceptions raised when a generated iterator or connection context class id found to have missing or inaccessible members, or does not otherwise conform to the standard.

    o INVALID_COLUMN_NAME_SQLSTATE
     public static final String INVALID_COLUMN_NAME_SQLSTATE
    
    SQLState value of exceptions raised when a required named iterator column is not found in the associated runtime query.

    o INVALID_PROFILE_STATE_SQLSTATE
     public static final String INVALID_PROFILE_STATE_SQLSTATE
    
    SQLState value of exceptions raised when a profile cannot be loaded, or the profile loaded contains invalid data.

    Constructors

    o Errors
     public Errors()
    

    Methods

    o raiseError
     public static void raiseError(String sqlState,
                                   ResourceBundle bundle,
                                   String key) throws SQLException
    
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle. The message must have no replacement arguments.

    Throws: SQLException
    always thrown as a result of this method.
    o raiseError
     public static void raiseError(String sqlState,
                                   ResourceBundle bundle,
                                   String key,
                                   Object arg1) throws SQLException
    
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle. The message must have exactly one replacement argument, as passed.

    Throws: SQLException
    always thrown as a result of this method.
    o raiseError
     public static void raiseError(String sqlState,
                                   ResourceBundle bundle,
                                   String key,
                                   Object arg1,
                                   Object arg2) throws SQLException
    
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle. The message must have exactly two replacement arguments, as passed.

    Throws: SQLException
    always thrown as a result of this method.
    o raiseError
     public static void raiseError(String sqlState,
                                   ResourceBundle bundle,
                                   String key,
                                   Object arg1,
                                   Object arg2,
                                   Object arg3) throws SQLException
    
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle. The message must have exactly three replacement arguments, as passed.

    Throws: SQLException
    always thrown as a result of this method.
    o raiseError
     public static void raiseError(String sqlState,
                                   ResourceBundle bundle,
                                   String key,
                                   Object args[]) throws SQLException
    
    Throws a SQLException whose message corresponds to the message with the given key in the given resource bundle. The message must have the same number of replacement arguments as are passed in the object array or arguments.

    Throws: SQLException
    always thrown as a result of this method.
    o getText
     public static String getText(ResourceBundle bundle,
                                  String key)
    
    Returns the string corresponding to the message with the given key in the given resource bundle. The message must have no replacement arguments.

    o getText
     public static String getText(ResourceBundle bundle,
                                  String key,
                                  Object arg)
    
    Returns the string corresponding to the message with the given key in the given resource bundle. The message must have exactly one replacement argument as are passed in the parameters.

    o getText
     public static String getText(ResourceBundle bundle,
                                  String key,
                                  Object arg1,
                                  Object arg2)
    
    Returns the string corresponding to the message with the given key in the given resource bundle. The message must have exactly two replacement arguments as are passed in the parameters.

    o getText
     public static String getText(ResourceBundle bundle,
                                  String key,
                                  Object arg1,
                                  Object arg2,
                                  Object arg3)
    
    Returns the string corresponding to the message with the given key in the given resource bundle. The message must have exactly three replacement arguments as are passed in the parameters.

    o getText
     public static String getText(ResourceBundle bundle,
                                  String key,
                                  Object args[])
    
    Returns the string corresponding to the message with the given key in the given resource bundle. The message must have the same number of replacement arguments as are passed in the object array or arguments.

    Class sqlj.runtime.error.ProfileErrors

    Class sqlj.runtime.error.ProfileErrors

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

    public class ProfileErrors
    extends Errors
    The ProfileErrors class contains error formatting routines used by the profile module. It contains a series of static methods which return strings or raise exceptions whose that have been localized for the local environment.


    Variable Index

    o CANT_INSTANTIATE_PROFILE
    o CANT_INSTANTIATE_SER_PROFILE
    o INVALID_DESCRIPTOR
    o INVALID_EXEC_TYPE
    o INVALID_MODE
    o INVALID_RESULT_SET_TYPE
    o INVALID_ROLE
    o INVALID_STMT_TYPE
    o NOT_A_PROFILE

    Constructor Index

    o ProfileErrors()

    Method Index

    o CANT_INSTANTIATE_PROFILE_text(String)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o CANT_INSTANTIATE_SER_PROFILE_text(String)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_DESCRIPTOR_text(Object)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_EXEC_TYPE_text(int)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_MODE_text(int)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_RESULT_SET_TYPE_text(int)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_ROLE_text(int)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o INVALID_STMT_TYPE_text(int)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o NOT_A_PROFILE_text(String)
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Variables

    o INVALID_MODE
     public static final String INVALID_MODE
    
    o CANT_INSTANTIATE_PROFILE
     public static final String CANT_INSTANTIATE_PROFILE
    
    o CANT_INSTANTIATE_SER_PROFILE
     public static final String CANT_INSTANTIATE_SER_PROFILE
    
    o NOT_A_PROFILE
     public static final String NOT_A_PROFILE
    
    o INVALID_ROLE
     public static final String INVALID_ROLE
    
    o INVALID_DESCRIPTOR
     public static final String INVALID_DESCRIPTOR
    
    o INVALID_STMT_TYPE
     public static final String INVALID_STMT_TYPE
    
    o INVALID_EXEC_TYPE
     public static final String INVALID_EXEC_TYPE
    
    o INVALID_RESULT_SET_TYPE
     public static final String INVALID_RESULT_SET_TYPE
    

    Constructors

    o ProfileErrors
     public ProfileErrors()
    

    Methods

    o INVALID_MODE_text
     public static String INVALID_MODE_text(int mode)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    mode - the invalid mode value
    o CANT_INSTANTIATE_PROFILE_text
     public static String CANT_INSTANTIATE_PROFILE_text(String profileName)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    profileName - the name of the profile that can't be instantiated
    o CANT_INSTANTIATE_SER_PROFILE_text
     public static String CANT_INSTANTIATE_SER_PROFILE_text(String profileName)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    profileName - the name of the profile that can't be instantiated
    o NOT_A_PROFILE_text
     public static String NOT_A_PROFILE_text(String profileName)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    profileName - the name of the profile
    o INVALID_ROLE_text
     public static String INVALID_ROLE_text(int role)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    role - the invalid role value
    o INVALID_DESCRIPTOR_text
     public static String INVALID_DESCRIPTOR_text(Object desc)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    desc - the invalid descriptor
    o INVALID_STMT_TYPE_text
     public static String INVALID_STMT_TYPE_text(int stmtType)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    stmtType - the invalid statement type value
    o INVALID_EXEC_TYPE_text
     public static String INVALID_EXEC_TYPE_text(int execType)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    execType - the invalid exec type value
    o INVALID_RESULT_SET_TYPE_text
     public static String INVALID_RESULT_SET_TYPE_text(int resultSetType)
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Parameters:
    resultSetType - the invalid result set type value
    Class sqlj.runtime.error.ProfileErrorsText

    Class sqlj.runtime.error.ProfileErrorsText

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileErrorsText
    

    public class ProfileErrorsText
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileErrorsText()

    Method Index

    o getContents()

    Constructors

    o ProfileErrorsText
     public ProfileErrorsText()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileErrorsText_de

    Class sqlj.runtime.error.ProfileErrorsText_de

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileErrorsText_de
    

    public class ProfileErrorsText_de
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileErrorsText_de()

    Method Index

    o getContents()

    Constructors

    o ProfileErrorsText_de
     public ProfileErrorsText_de()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileErrorsText_fr

    Class sqlj.runtime.error.ProfileErrorsText_fr

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileErrorsText_fr
    

    public class ProfileErrorsText_fr
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileErrorsText_fr()

    Method Index

    o getContents()

    Constructors

    o ProfileErrorsText_fr
     public ProfileErrorsText_fr()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileErrorsText_ja

    Class sqlj.runtime.error.ProfileErrorsText_ja

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileErrorsText_ja
    

    public class ProfileErrorsText_ja
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileErrorsText_ja()

    Method Index

    o getContents()

    Constructors

    o ProfileErrorsText_ja
     public ProfileErrorsText_ja()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileRefErrors

    Class sqlj.runtime.error.ProfileRefErrors

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

    public class ProfileRefErrors
    extends Errors
    The ProfileRefErrors class contains error formatting routines used by the reference profile implementation. It contains a series of static methods which return strings or raise exceptions whose that have been localized for the local environment.


    Variable Index

    o EXPECTED_EXECUTE_QUERY
    o EXPECTED_EXECUTE_UPDATE
    o EXPECTED_FOR_UPDATE
    o EXPECTED_PREPARED_STATEMENT
    o INCOMPATIBLE_TYPE
    o NO_CALLABLE_STATEMENT
    o NO_PREPARED_STATEMENT
    o UNEXPECTED_CALL
    o UNEXPECTED_PARAMS

    Constructor Index

    o ProfileRefErrors()

    Method Index

    o raise_EXPECTED_EXECUTE_QUERY(String)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_EXPECTED_EXECUTE_UPDATE(String)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_EXPECTED_FOR_UPDATE(int, String)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_EXPECTED_PREPARED_STATEMENT(String)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_INCOMPATIBLE_TYPE(Class, Class)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_NO_CALLABLE_STATEMENT()
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_NO_PREPARED_STATEMENT()
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_UNEXPECTED_CALL(String)
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_UNEXPECTED_PARAMS(String, 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.

    Variables

    o EXPECTED_EXECUTE_UPDATE
     public static final String EXPECTED_EXECUTE_UPDATE
    
    o EXPECTED_PREPARED_STATEMENT
     public static final String EXPECTED_PREPARED_STATEMENT
    
    o EXPECTED_FOR_UPDATE
     public static final String EXPECTED_FOR_UPDATE
    
    o NO_CALLABLE_STATEMENT
     public static final String NO_CALLABLE_STATEMENT
    
    o NO_PREPARED_STATEMENT
     public static final String NO_PREPARED_STATEMENT
    
    o INCOMPATIBLE_TYPE
     public static final String INCOMPATIBLE_TYPE
    
    o UNEXPECTED_CALL
     public static final String UNEXPECTED_CALL
    
    o EXPECTED_EXECUTE_QUERY
     public static final String EXPECTED_EXECUTE_QUERY
    
    o UNEXPECTED_PARAMS
     public static final String UNEXPECTED_PARAMS
    

    Constructors

    o ProfileRefErrors
     public ProfileRefErrors()
    

    Methods

    o raise_EXPECTED_EXECUTE_UPDATE
     public static void raise_EXPECTED_EXECUTE_UPDATE(String sqlString) 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:
    sqlString - text of statement to execute
    Throws: SQLException
    this method always throws a SQLException
    o raise_EXPECTED_PREPARED_STATEMENT
     public static void raise_EXPECTED_PREPARED_STATEMENT(String sqlString) 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:
    sqlString - text of statement to execute
    Throws: SQLException
    this method always throws a SQLException
    o raise_EXPECTED_FOR_UPDATE
     public static void raise_EXPECTED_FOR_UPDATE(int columnNum,
                                                  String className) 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:
    columNum - the column number of the iterator argument
    className - the found clas name of the class found
    Throws: SQLException
    this method always throws a SQLException
    o raise_NO_CALLABLE_STATEMENT
     public static void raise_NO_CALLABLE_STATEMENT() 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
    o raise_NO_PREPARED_STATEMENT
     public static void raise_NO_PREPARED_STATEMENT() 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
    o raise_INCOMPATIBLE_TYPE
     public static void raise_INCOMPATIBLE_TYPE(Class expected,
                                                Class found) 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:
    expected - the class of the expected type
    found - the class of the found type
    Throws: SQLException
    this method always throws a SQLException
    o raise_UNEXPECTED_CALL
     public static void raise_UNEXPECTED_CALL(String methodName) 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:
    methodName - the name of the method unexpectedly called.
    Throws: SQLException
    this method always throws a SQLException
    o raise_EXPECTED_EXECUTE_QUERY
     public static void raise_EXPECTED_EXECUTE_QUERY(String sqlString) 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:
    sqlString - text of statement to execute
    Throws: SQLException
    this method always throws a SQLException
    o raise_UNEXPECTED_PARAMS
     public static void raise_UNEXPECTED_PARAMS(String sqlString,
                                                int expected,
                                                int found) 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:
    sqlString - text of statement to execute
    expected - the expected number of parameters
    found - the actual number of parameters
    Throws: SQLException
    this method always throws a SQLException
    Class sqlj.runtime.error.ProfileRefErrorsText

    Class sqlj.runtime.error.ProfileRefErrorsText

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileRefErrorsText
    

    public class ProfileRefErrorsText
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileRefErrorsText()

    Method Index

    o getContents()

    Constructors

    o ProfileRefErrorsText
     public ProfileRefErrorsText()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileRefErrorsText_de

    Class sqlj.runtime.error.ProfileRefErrorsText_de

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileRefErrorsText_de
    

    public class ProfileRefErrorsText_de
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileRefErrorsText_de()

    Method Index

    o getContents()

    Constructors

    o ProfileRefErrorsText_de
     public ProfileRefErrorsText_de()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileRefErrorsText_fr

    Class sqlj.runtime.error.ProfileRefErrorsText_fr

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileRefErrorsText_fr
    

    public class ProfileRefErrorsText_fr
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileRefErrorsText_fr()

    Method Index

    o getContents()

    Constructors

    o ProfileRefErrorsText_fr
     public ProfileRefErrorsText_fr()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.ProfileRefErrorsText_ja

    Class sqlj.runtime.error.ProfileRefErrorsText_ja

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.ProfileRefErrorsText_ja
    

    public class ProfileRefErrorsText_ja
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.profile.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o ProfileRefErrorsText_ja()

    Method Index

    o getContents()

    Constructors

    o ProfileRefErrorsText_ja
     public ProfileRefErrorsText_ja()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeErrors

    Class sqlj.runtime.error.RuntimeErrors

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

    public class RuntimeErrors
    extends Errors
    The RuntimeErrors class defines error constants used by the runtime module.


    Variable Index

    o CONCURRENT_EXEC
    o NULL_PRIMITIVE

    Constructor Index

    o RuntimeErrors()

    Method Index

    o NULL_PRIMITIVE_text()
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.
    o raise_CONCURRENT_EXEC()
    Throws a SQLException whose message is the internationalized message for the corresponding error key using the resource bundle found for the default locale.

    Variables

    o NULL_PRIMITIVE
     public static final String NULL_PRIMITIVE
    
    o CONCURRENT_EXEC
     public static final String CONCURRENT_EXEC
    

    Constructors

    o RuntimeErrors
     public RuntimeErrors()
    

    Methods

    o NULL_PRIMITIVE_text
     public static String NULL_PRIMITIVE_text()
    
    Returns internationalized message for the corresponding error key using the resource bundle found for the default locale.

    o raise_CONCURRENT_EXEC
     public static void raise_CONCURRENT_EXEC() 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 = 08000: connection exception

    Throws: SQLException
    this method always throws a SQLException
    Class sqlj.runtime.error.RuntimeErrorsText

    Class sqlj.runtime.error.RuntimeErrorsText

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeErrorsText
    

    public class RuntimeErrorsText
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeErrorsText()

    Method Index

    o getContents()

    Constructors

    o RuntimeErrorsText
     public RuntimeErrorsText()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeErrorsText_de

    Class sqlj.runtime.error.RuntimeErrorsText_de

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeErrorsText_de
    

    public class RuntimeErrorsText_de
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeErrorsText_de()

    Method Index

    o getContents()

    Constructors

    o RuntimeErrorsText_de
     public RuntimeErrorsText_de()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeErrorsText_fr

    Class sqlj.runtime.error.RuntimeErrorsText_fr

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeErrorsText_fr
    

    public class RuntimeErrorsText_fr
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeErrorsText_fr()

    Method Index

    o getContents()

    Constructors

    o RuntimeErrorsText_fr
     public RuntimeErrorsText_fr()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeErrorsText_ja

    Class sqlj.runtime.error.RuntimeErrorsText_ja

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeErrorsText_ja
    

    public class RuntimeErrorsText_ja
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeErrorsText_ja()

    Method Index

    o getContents()

    Constructors

    o RuntimeErrorsText_ja
     public RuntimeErrorsText_ja()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeRefErrors

    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.


    Variable Index

    o MULTI_ROW_SELECT_INTO
    o NO_ROW_SELECT_INTO
    o NULL_CONN_CTX
    o NULL_EXEC_CTX
    o PROFILE_NOT_FOUND
    o WRONG_NUM_COLS

    Constructor Index

    o RuntimeRefErrors()

    Method Index

    o 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.
    o 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.
    o 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.
    o 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.
    o 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.
    o 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.

    Variables

    o PROFILE_NOT_FOUND
     public static final String PROFILE_NOT_FOUND
    
    o NO_ROW_SELECT_INTO
     public static final String NO_ROW_SELECT_INTO
    
    o MULTI_ROW_SELECT_INTO
     public static final String MULTI_ROW_SELECT_INTO
    
    o WRONG_NUM_COLS
     public static final String WRONG_NUM_COLS
    
    o NULL_CONN_CTX
     public static final String NULL_CONN_CTX
    
    o NULL_EXEC_CTX
     public static final String NULL_EXEC_CTX
    

    Constructors

    o RuntimeRefErrors
     public RuntimeRefErrors()
    

    Methods

    o 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
    o 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
    o 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
    o 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
    o 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
    o 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
    Class sqlj.runtime.error.RuntimeRefErrorsText

    Class sqlj.runtime.error.RuntimeRefErrorsText

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeRefErrorsText
    

    public class RuntimeRefErrorsText
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeRefErrorsText()

    Method Index

    o getContents()

    Constructors

    o RuntimeRefErrorsText
     public RuntimeRefErrorsText()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeRefErrorsText_de

    Class sqlj.runtime.error.RuntimeRefErrorsText_de

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeRefErrorsText_de
    

    public class RuntimeRefErrorsText_de
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeRefErrorsText_de()

    Method Index

    o getContents()

    Constructors

    o RuntimeRefErrorsText_de
     public RuntimeRefErrorsText_de()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeRefErrorsText_fr

    Class sqlj.runtime.error.RuntimeRefErrorsText_fr

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeRefErrorsText_fr
    

    public class RuntimeRefErrorsText_fr
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeRefErrorsText_fr()

    Method Index

    o getContents()

    Constructors

    o RuntimeRefErrorsText_fr
     public RuntimeRefErrorsText_fr()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle
    Class sqlj.runtime.error.RuntimeRefErrorsText_ja

    Class sqlj.runtime.error.RuntimeRefErrorsText_ja

    java.lang.Object
       |
       +----java.util.ResourceBundle
               |
               +----java.util.ListResourceBundle
                       |
                       +----sqlj.runtime.error.RuntimeRefErrorsText_ja
    

    public class RuntimeRefErrorsText_ja
    extends ListResourceBundle
    Class containing the messages to be internationalized for the sqlj.runtime.ref package. This is used as the default message bundle. Other classes should be added for specific locales as needed.


    Constructor Index

    o RuntimeRefErrorsText_ja()

    Method Index

    o getContents()

    Constructors

    o RuntimeRefErrorsText_ja
     public RuntimeRefErrorsText_ja()
    

    Methods

    o getContents
     public Object[][] getContents()
    
    Overrides:
    getContents in class ListResourceBundle