mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
27 lines
439 B
Plaintext
27 lines
439 B
Plaintext
import java.io.*;
|
|
public class Subject {
|
|
private int myInt;
|
|
|
|
public void withClass() throws IOException {
|
|
myInt += new ThirdParty(false).hashCode();
|
|
}
|
|
}
|
|
|
|
class User {
|
|
private void oper() throws IOException {
|
|
Subject subj = new Subject();
|
|
subj.withClass();
|
|
}
|
|
}
|
|
|
|
class ThirdParty {
|
|
public ThirdParty() {
|
|
}
|
|
|
|
public ThirdParty(boolean b) throws IOException {
|
|
if (b) {
|
|
throw new IOException();
|
|
}
|
|
}
|
|
}
|