public static void dumpWhenSysErrContains(String trigger){
  System.setErr(wrapAndDumpWhenContains(System.err,trigger));
}

public static void dumpWhenSysErrContains ( String trigger ) { System . setErr ( wrapAndDumpWhenContains ( System . err , trigger ) ) ; }
dumps a stack trace anytime trigger string is printed to system . err .
