Computer Science 15-100, Fall 2008
Class Notes: Getting Started With Exceptions
Getting Started With Exceptions
- throw-catch syntax
- throws syntax (for method declarations)
- Exception vs RuntimeException
- throw a specific exception
- catch a specific exception / multiple catch statements
- printStackTrace()
- 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