public Object methodException(Class claz,String method,Exception e) throws Exception {
  if (exceptionSwitch && method.equals("throwException")) {
    return "handler";
  }
  throw e;
}

public Object methodException ( Class claz , String method , Exception e ) throws Exception { if ( exceptionSwitch && method . equals ( "throwException" ) ) { return "handler" ; } throw e ; }
handles exceptions thrown during in - template method access
