mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
13 lines
278 B
Java
13 lines
278 B
Java
class Test {
|
|
int foo() throws Exception { return 1;}
|
|
|
|
void fooBar() throws IllegalArgumentException{
|
|
int a = 0;
|
|
try {
|
|
a = foo();
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
System.out.println(a);
|
|
}
|
|
} |