Skip to Main Content
Java 6 Illuminated: An Active Learning Approach, 2nd Edition
book

Java 6 Illuminated: An Active Learning Approach, 2nd Edition

by Julie Anderson, Herve J. Franceschi
February 2008
Intermediate to advanced content levelIntermediate to advanced
1288 pages
39h 39m
English
Jones & Bartlett Learning
Content preview from Java 6 Illuminated: An Active Learning Approach, 2nd Edition
11.1 Simple Exception Handling 737
or try to access the 11th element in a 10-element array. Java is a robust lan-
guage and does not allow these “illegal” operations to occur unnoticed.
These illegal operations generate exceptions. Some exceptions are gener-
ated by the Java Virtual Machine, while others are generated by construc-
tors or other methods. For example, a method might generate an exception
when it detects an attempted illegal operation or an illegal parameter.
By default, when an exception is generated in an application that does not
have a graphical user interface, the program will terminate. In many cases,
however, we can attempt to reco ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

Kathy Walrath, Mary Campione, Alison Huml, Sharon Zakhour
Java Illuminated, 4th Edition

Java Illuminated, 4th Edition

Julie Anderson, Hervé J. Franceschi

Publisher Resources

ISBN: 9780763749637