    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.

##

CANT_INSTANTIATE_PROFILE
CANT_INSTANTIATE_SER_PROFILE
INVALID_DESCRIPTOR
INVALID_EXEC_TYPE
INVALID_MODE
INVALID_RESULT_SET_TYPE
INVALID_ROLE
INVALID_STMT_TYPE
NOT_A_PROFILE

##

ProfileErrors()

##

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

##

INVALID_MODE

     public static final String INVALID_MODE

CANT_INSTANTIATE_PROFILE

     public static final String CANT_INSTANTIATE_PROFILE

CANT_INSTANTIATE_SER_PROFILE

     public static final String CANT_INSTANTIATE_SER_PROFILE

NOT_A_PROFILE

     public static final String NOT_A_PROFILE

INVALID_ROLE

     public static final String INVALID_ROLE

INVALID_DESCRIPTOR

     public static final String INVALID_DESCRIPTOR

INVALID_STMT_TYPE

     public static final String INVALID_STMT_TYPE

INVALID_EXEC_TYPE

     public static final String INVALID_EXEC_TYPE

INVALID_RESULT_SET_TYPE

     public static final String INVALID_RESULT_SET_TYPE

##

ProfileErrors

     public ProfileErrors()

##

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

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

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

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

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

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

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

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

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