Computer Science 15-100, Fall 2008
Class Notes:  Getting Started With Exceptions


Getting Started With Exceptions

  1. throw-catch syntax
  2. throws syntax (for method declarations)
  3. Exception vs RuntimeException
  4. throw a specific exception
  5. catch a specific exception / multiple catch statements
  6. printStackTrace()
  7. Other topics (Errors vs Exceptions, Throwables, using getStackTrace to find the caller to a method, etc)

carpe diem   -   carpe diem   -   carpe diem   -   carpe diem   -   carpe diem   -   carpe diem   -   carpe diem   -   carpe diem   -   carpe diem