throw : Java Glossary

throw
To trigger an exception. What happens to handle the exception depends on enclosing try-catch blocks or failing that in the enclosing try-catch blocks in the calling method, or its caller etc.

For unchecked Exceptions ( i.e. Errors and RuntimeExceptions such as IllegalArgumentException) the throws IllegalArgumentException is optional. I find them useful documentation since they show up in the Javadoc.


available on the web at:

http://mindprod.com/jgloss/throw.html
ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\throw.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Blog
IP:[65.110.21.43]
Your face IP:[54.196.57.4]
You are visitor number 30,765.