Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » DatabaseManager class


setErrorLanguage function

Sets the language to use for error messages.

void DatabaseManager.setErrorLanguage(
  String lang
  • lang¬†¬† The language code as a double character.


Recognized languages are EN, DE, FR, JA, ZH. If an unrecognized language is specified, the system reverts to the default.

In J2SE and BlackBerry J2ME environments, the current Locale is used to determine the default language. In other J2ME environments, this method provides the only way to specify the language. The default language is "EN".