PPT Slide
public void doit( ) {
someMethod( );
if (iErrorValue == 1) {
...
} // if
else {
someOtherMethod( );
if (iErrorValue == 2) {
...
} // if
else {
someThirdMethod( );
if (iErrorValue == 3) {
…
} // if
else {
do intended actions
} // else
} // else
}// else
Exceptions--Global Variables
(Do we prefer robustness
or clarity/maintainability?)
Previous slide
Next slide
Back to first slide
View graphic version