That's probably something we need to fix (I suggest filing an issue) but I would suggest using a regular expression for this as relying on an exception for normal flow is problematic.
-- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/95f849ab-9d9b-447b-b496-e584dbfb06e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.