Abstract
Even if you wear an S on your chest when it comes to programming, you can be sure that errors will creep into all but the most trivial of applications. Some of these errors are programmer-induced—they are the result of mistakes made during the development process. Others are user-induced, caused by the end user’s unwillingness or inability to conform to application constraints. For example, the user might enter 12341234 when asked for an e-mail address, obviously ignoring what would otherwise be expected as valid input. Yet regardless of the source of the error, your application must be able to encounter and react to such unexpected errors in a graceful fashion, hopefully doing so without losing data or crashing the application. In addition, your application should be able to provide users with the feedback necessary to understand the reason for such errors and potentially adjust their behavior accordingly.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 W. Jason Gilmore, Bob Bryla
About this chapter
Cite this chapter
(2007). Error and Exception Handling. In: Beginning PHP and Oracle. Apress. https://doi.org/10.1007/978-1-4302-0367-4_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0367-4_8
Publisher Name: Apress
Print ISBN: 978-1-59059-770-5
Online ISBN: 978-1-4302-0367-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books