ASL STEM Logo

ASL STEM

Throwing Exceptions Sign Video

No video uploaded yet.

Definition

an exception is thrown when an error is encountered. When an exception is thrown, Java looks to see if you have written code to handle it. If not program execution is halted, and you will see what is known as stack trace or back trace- The stack trace shows you the series of methods that has been called, in reverse order.

Source: Reges & Stepps

Example

Example sentence for context: "When an error is encountered in the program while compiling, an exception is thrown."