Map
Index
Random
Help
th

Quote: checked expressions must be handled; suppress, bail out, propagate, base case, wrap, or translate; none are good

topics > all references > references g-h > QuoteRef: goldO11_2001 , p. 111



Group:
exception handling

Quotation Skeleton

Where a checked exception may be thrown, the … In practice, a variety of coding strategies are … [hides error, e.g., in static initializers] … Bail Out [unacceptable in a library] … Propagate [higher level methods must declare that they throw the union of all exceptions] … Base Case ["throws Exception", but then why bother] … Wrap [must unwrap the root exception, e.g., SQLexception] … [. 112] Translate … back into error codes or funny return values … [but error codes are often ignored] …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Group: exception handling   (12 topics, 305 quotes)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.