All Packages    This Package  Previous  Next  

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

All Packages    This Package  Previous  Next