Exception Handling

throw

English

Overview

An operation that deliberately raises an exception.

Details

An operation that explicitly creates an exception object within the program and propagates it to the caller, used when you want to detect an error on the spot -- such as invalid input -- and halt processing.

More Programming terms