Javatpoint Logo

exception hendling problam .............

By: mo.far*** On: Wed Apr 12 11:05:01 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User

sir;

please expain below statment in exception hendling.........


// throw new IllegalArgumentException(Integer.toString(v));//
Up0Down

 
Calling my web log Illegal Argument Exception seemed like a clever idea at the time. It is probably just a recipe for confusing Java neophytes searching for their program errors. I should've listened to what my granny used to tell me about clarity, precision, and terseness when choosing identifiers.

To make up for it, here's a short post about IllegalArgumentException (the exception type).
Image Created0Down

By: [email protected] On: Thu Apr 13 22:01:55 IST 2017 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No