Good point. This code should look for multiline "throw" statements instead like:

```java
public void doSomething()
    throws  AnException,
            AnotherException
            YetAnotherException
{
}