Please Disable Adblock to Show Download Link
DOWNLOAD
Author : Mauro Guido
Genre :
Summary : This book is intended for those Java programmers who want to deepen their knowledge of exceptions, along with some details and corner cases that are often neglected, causing some incomprehensible behaviors in our code. The various topics covered are: what exceptions are and why to use exceptions, different flavors of exceptions (checked, unchecked, errors), how to instantiate and throw an exception, how to handle exceptions properly (try/catch/finally, multiple catch blocks, multi-catch blocks, stack trace, message and cause of an exception, propagation of exceptions, partial handling), exception handling and override methods, exceptions and resources (how to avoid memory leaks, try-with-resources, the AutoCloseable interface, suppressed exceptions), custom exceptions (when it is useful to define your own exception class). All the topics covered are explained with useful examples