O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Answers to Self-Review Exercises

13.1 a) throw. b) finally. c) Exception. d) throw point. e) termination, resumption. f) unwind. g) FormatException.

13.2 a) False. Exceptions can be handled by other methods on the method-call stack. b) False. User-defined exception classes should typically extend class Exception. c) True. d) False. A try block that does not have any catch blocks requires a finally block. e) False. The finally block executes only if program control enters the corresponding try block. f) False. return causes control to return to the caller. g) True. h) False. Property Message of class Exception returns a string representing the error message.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required