class Foo {
  public static void main(String[] args) {
    try {new AddException().foo();} catch (java.io.IOException e) {
    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
}
  }
}
class Foo {
  public static void main(String[] args) {
      try {
          new AddException().foo();
      } catch (java.io.IOException e) {
          e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
      }
  }
}
format the test data