Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
quickFix
/
addToThrows
/
before1.java
blob: 8555c0e7e9b9fc7a5761afd08446af7cc09b1cdd [
file
] [
log
] [
blame
]
// "Add Exception to Method Signature" "true"
class
C
{
static
class
E1
extends
Exception
{
}
static
class
MyResource
implements
AutoCloseable
{
public
void
close
()
throws
E1
{
}
}
void
m
()
{
try
(<
caret
>
MyResource
r
=
new
MyResource
())
{
}
}
}