class Foo {
void foo(){
try {
    // comment before
    g();
    // comment after
} catch (Exception e) {
    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
}
}
}