Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

checking int value for null

grodnoJun 1 2012 — edited Jun 9 2012
hi,
a bit silly question on how to check int value for null...
i face java.lang.IllegalArgumentException when calling function defined in AM when inputText which supplies int parameter to function contains no value.
how can this be prevented?
for object types one can use java '==' operator , what about primitives?
This post has been answered by 934057 on Jun 1 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2012
Added on Jun 1 2012
4 comments
233 views