Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial 53: CSC1130S - Lecture 6a: Exception Handling

You are here: Tutorials >> Basic >> Java >> Introduction to Computing Using Java >> CSC1130S - Lecture 6a: Exception Handling

Tutorial ID53
TitleCSC1130S - Lecture 6a: Exception Handling

Exception (例外/情況/鑊)

  • When running a program, there may be unexpected conditions or errors. E.g.
    • Keyboard cable damaged by mice bite.
    • I/O Error (disk damage, disk full, etc.)
  • It’s an art to handle the exceptions gracefully and correctly.
    • We won’t expect a blue screen during the course of running our programs!

Post Your Comment

Title
Message