Eigene Exceptions


class Throw {
  public static void main (String [] argv) {
    try {
        throw (new Foo ());
    } catch (Foo f) {
        System.out.println (f);
    }
  }
}

class Foo extends Throwable { }



Johannes Waldmann 2004-06-29