|
|
What happens if exceptions are ignored? If the programmer has not written the program in such a way that it detects and handles exceptions, usually one of three things will happen: The program crashes immediately The program continues to work, but behaves strangely and then crashes The program continues to work, but produces meaningless results
None of these situations is desirable. The programmer should anticipate exceptions wherever possible, and write the program in such a way that it responds appropriately Back to top 
RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |
|