Dear all,

Something I noticed a while ago but only now I am writing about it.
I seems that the j2me client library is internally testing a string being a number by using Integer.parseInt(). This generates a lot of NumberFormatException logging in J2ME emulator when exception tracing is enabled.
This does not cause the code to fail as I believe this is as designed, but performance wise, I don't think this is the best way to test if a string is a number.
Exceptions are known to be performance killers in Java and usually should not be used to handle normal cases. In J2ME, I have a feeling it is causing some pauses in the application.

Regards,
A