You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UndeclaredThrows.java 255B

1234567891011121314151617181920
  1. import java.io.*;
  2. public class UndeclaredThrows {
  3. }
  4. class C {
  5. public void m() throws Exception {
  6. }
  7. public void m1() {
  8. m();
  9. }
  10. public void m2() {
  11. try {
  12. m1();
  13. } catch (IOException ioe) { }
  14. }
  15. }