For the system shown in Figure P4.3, (a) find an equation that relates settling time of the velocity of the mass to M; (b) find an equation that relates rise time of the velocity of the mass to M. [Sections: 4.2, 4.3]
10/19/2017 OneNote Online Exceptions and Error Handling Wednesday, September 27,4:09 PM try { //code that could throw an exception } catch (ExceptionName e) { //fix the problem here } How throwing exceptions works When an exception is thrown: • Execution stops immediately • JVM examines the call stack for a matching catch statement • Execution continues within the body of the matching catch statement • Then: execution continues after the try-catch • Exceptions not caught cause the program to halt Creating our own exceptions • only create a new exception if there isn't already one