collect unhandled exceptions from enum constructor (IDEA-154283)

This commit is contained in:
Anna.Kozlova
2016-04-07 15:13:00 +02:00
parent b636fe8e59
commit 66a8aa11b8
4 changed files with 22 additions and 0 deletions
@@ -0,0 +1,8 @@
enum ABC {
<error descr="Unhandled exception: java.io.IOException">A()</error>,
<error descr="Unhandled exception: java.io.IOException">B</error>,
<error descr="Unhandled exception: java.io.IOException">C</error>;
ABC() throws java.io.IOException {
}
}