Java Programming/Keywords/throw

is a keyword; it 'throws' an exception. In a throw statement, the three types of objects that can be thrown are:,  , and

Syntax: ;

For example: