Using keyword throws is more than a warning. It specifically requires any code invoking that method catch the exception.
Joined: Jan 30, 2000
Yes, sorta. There are additional conditions and exceptions which you have omitted as well. Without getting into those, I suppose I should have said throws is like a warning, with some extra enforcement from the compiler.