Abstract
Exceptions are a way of describing exceptional circumstances within a program. They are an indicator that something unexpected (exceptional) has occurred. For that reason, exceptions are efficient at interrupting the current flow of the program and signaling that there is something that requires attention. As such, programs that utilize exceptions judiciously benefit from a better control flow and become more robust. Even so, using exceptions indiscriminately can cause performance degradation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Josh Juneau
About this chapter
Cite this chapter
Juneau, J. (2014). Exceptions and Logging. In: Java 8 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6826-0_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6826-0_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6827-7
Online ISBN: 978-1-4302-6826-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)