What is the difference between throw and throws in Java?
throw is used to declare an exception and throws is used to throw the exception from a method.
That's not quite right. throw is used to actually throw an exception, and throws is used to declare exceptions in a method signature.
Can you clarify the roles of throw and throws in Java exceptions?