answersLogoWhite

0

Exceptions are simply errors. The term is a bit misleading since errors need not be exceptional nor disastrous. You can throw exceptions to indicate an error has occurred. Unlike an error value, which can simply be ignored, an exception must be handled appropriately. This means the code that throws the error must be placed in a try-catch statement, where the catch block catches any exceptions thrown by the try block.

User Avatar

Wiki User

11y ago

What else can I help you with?