All Packages This Package Previous Next
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.
-
EXPECTED_EXECUTE_QUERY
-
-
EXPECTED_EXECUTE_UPDATE
-
-
EXPECTED_FOR_UPDATE
-
-
EXPECTED_PREPARED_STATEMENT
-
-
INCOMPATIBLE_TYPE
-
-
NO_CALLABLE_STATEMENT
-
-
NO_PREPARED_STATEMENT
-
-
UNEXPECTED_CALL
-
-
UNEXPECTED_PARAMS
-
-
ProfileRefErrors()
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
EXPECTED_EXECUTE_UPDATE
public static final String EXPECTED_EXECUTE_UPDATE
EXPECTED_PREPARED_STATEMENT
public static final String EXPECTED_PREPARED_STATEMENT
EXPECTED_FOR_UPDATE
public static final String EXPECTED_FOR_UPDATE
NO_CALLABLE_STATEMENT
public static final String NO_CALLABLE_STATEMENT
NO_PREPARED_STATEMENT
public static final String NO_PREPARED_STATEMENT
INCOMPATIBLE_TYPE
public static final String INCOMPATIBLE_TYPE
UNEXPECTED_CALL
public static final String UNEXPECTED_CALL
EXPECTED_EXECUTE_QUERY
public static final String EXPECTED_EXECUTE_QUERY
UNEXPECTED_PARAMS
public static final String UNEXPECTED_PARAMS
ProfileRefErrors
public ProfileRefErrors()
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
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
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
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
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
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
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
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
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
All Packages This Package Previous Next