class Test { /** * @throws Integer sometimes */ public void foo() throws Exception {} }