Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
123456789101112131415161718192021 |
- import java.io.IOException;
-
- class DeclareSoft2 {
- public static void main(String[] x) {
- foo();
- }
-
- static void foo() throws IOException {
- throw new IOException();
- }
-
- }
-
- aspect A {
-
- void around(): call(void foo()) {
- try { proceed(); }
- catch (IOException e) {}
- }
- declare soft: IOException: call(void foo());
- }
|