Java Programming/Keywords/throws

is a Java keyword. It is used in a method definition to declare the Exceptions to be thrown by the method.

Syntax: public myMethod MyException1, MyException2 {MyException1 ... }

Example: