Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MessageFormat java.lang.IllegalArgumentException

Status
Not open for further replies.

almoes

Programmer
Jan 8, 2003
291
US
Hi!

When creating a new message format I get a java.lang.IllegalArgumentException: argument number too large. I checked and the number of arguments corresponds to the number of 'variables' defined in the string. I was wondering if perhaps there's a limit in the number of arguments. Any ideas? thanxs!

cheers,
alej
 
Maybe if you posted the actual code which is failing...

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
well i tell you, you would not like to see all this chunk of code....Anyway, I got it, the arguments array can only be of a max of 10 elements.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top