Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
1234567891011121314 |
- public class LongLong implements II {
- public void m1(String arg) {
- }
-
- public static void main(String [] args) throws Exception {
- try {
- new LongLong().m1(null);
- throw new Exception("(BAD) advice did not run");
- } catch (RuntimeException e) {
- System.out.println("(GOOD) advice ran and threw expected exception");
- e.printStackTrace(System.out);
- }
- }
- }
|