/*
* @test /nodynamiccopyright/
* @bug 6911256 6964740 7013420
* @author Joseph D. Darcy
* @summary Test exception analysis of try-with-resources blocks
* @compile/fail/ref=TwrFlow.out -XDrawDiagnostics TwrFlow.java
*/
}
// CustomCloseException should be caught or added to throws clause
}
/*
* A close method, but the class is <em>not</em> Closeable or
* AutoCloseable.
*/
throw new CustomCloseException();
}
}