January 2014
Intermediate to advanced
736 pages
70h 43m
English
H.1 Memory exhaustion, array index out of bounds, arithmetic overflow, division by zero, invalid method parameters.
(a) Exception handling is designed to handle infrequently occurring situations that often result in program termination, not situations that arise all the time.
(b) Flow of control with conventional control structures is generally clearer and more efficient than with exceptions.
(c) The additional exceptions can get in the way of genuine error-type exceptions. It becomes more difficult for you to keep track of the larger number of exception cases.
H.3 It’s unlikely that methods of classes in the Java API could perform error processing that would meet the unique needs of all users.
H.4 A “resource ...
Read now
Unlock full access