您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Content Index

Content Page # 35

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

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg