I've got to retrieve the parameters of a Ultralite Exception, but there is no method in the ULjException object to help me with it.
Using the Ultralite API for Object-C, I can use the following code:
ulError->GetSQLCode(); ulError->GetParameterCount(); ulError->GetParameter(i, (char*)NULL, 0);
How could I do this using the UltraliteJ for Android?
Ps: I have to get the parameters of the exception because so I can translate the exception message to others languages.
asked 24 May '12, 14:55
As of 184.108.40.20604 UltraLiteJ for Android has APIs to get error parameters from ULjException's.
answered 11 Oct '12, 15:32
UltraLiteJ supports internationalized exception messages, unlike UltraLite C. The supported locales are ZH, JA, DE, FR, and EN. The parameters are substituted into the ULjException message by UltraLiteJ - they are typically non-translatable entities such as numbers or table names. Hence, there are no APIs to get the parameters of exception messages in UltraLiteJ.
answered 25 May '12, 09:08