| Today I went over exceptions using try/catch. The first example uses try/catch to catch an exception if the command line input is incorrect. The second example throws exceptions in a method back to the calling method. The fourth example using a stack trace to help define the exception. Next is an example of a program that reads from a file using an Arraylist that I went over in class. |