Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MIdlet  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, i want information about IllegalArgumentException in MIDlet ,when i want to generate TextBox on the MIDlet browser.pls tell what exactly the problem.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by vishal mulik:
Actually, i want information about IllegalArgumentException in MIDlet ,when i want to generate TextBox on the MIDlet browser.pls tell what exactly the problem.

 
luo GongWu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the some question to your who can tell me the reason!
Thank you!
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Luo,

OK! The following will be a possible solution. An IllegalArgumentException can be thrown because of the number of characters of your TextBox's text might have exceeded the maximum character limit defined in the TextBox constructor.

Here 's some more occations for

if maxSize is zero or less
if the constraints parameter is invalid
if text is illegal for the specified constraints

all the best
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!