public int dump(InputStream input,PrintStream out,PrintStream err,String[] args){
  try {
    return doDump(input,out,err,args);
  }
 catch (  ParseException e) {
    err.println(e.getMessage());
    dumpUsage(err);
    return 1;
  }
catch (  DumpException e) {
    err.println(e.getMessage());
    return 1;
  }
catch (  DumpappOutputBrokenException e) {
    throw e;
  }
catch (  RuntimeException e) {
    e.printStackTrace(err);
    return 1;
  }
}

public int dump ( InputStream input , PrintStream out , PrintStream err , String [ ] args ) { try { return doDump ( input , out , err , args ) ; } catch ( ParseException e ) { err . println ( e . getMessage ( ) ) ; dumpUsage ( err ) ; return 1 ; } catch ( DumpException e ) { err . println ( e . getMessage ( ) ) ; return 1 ; } catch ( DumpappOutputBrokenException e ) { throw e ; } catch ( RuntimeException e ) { e . printStackTrace ( err ) ; return 1 ; } }
execute the dump method as if it were a fragile external command . swallows exceptions and translates them to dumped output text .
