public String errorString(String err,Object arg0,Object arg1,Object arg2){
  if (err.startsWith("rmic.") || err.startsWith("warn.rmic.")) {
    String result=Main.getText(err,(arg0 != null ? arg0.toString() : null),(arg1 != null ? arg1.toString() : null),(arg2 != null ? arg2.toString() : null));
    if (err.startsWith("warn.")) {
      result="warning: " + result;
    }
    return result;
  }
 else {
    return super.errorString(err,arg0,arg1,arg2);
  }
}

public String errorString ( String err , Object arg0 , Object arg1 , Object arg2 ) { if ( err . startsWith ( "rmic." ) || err . startsWith ( "warn.rmic." ) ) { String result = Main . getText ( err , ( arg0 != null ? arg0 . toString ( ) : null ) , ( arg1 != null ? arg1 . toString ( ) : null ) , ( arg2 != null ? arg2 . toString ( ) : null ) ) ; if ( err . startsWith ( "warn." ) ) { result = "warning: " + result ; } return result ; } else { return super . errorString ( err , arg0 , arg1 , arg2 ) ; } }
return the formatted , localized string for a named error message and supplied arguments . for rmic error messages , with names that being with " rmic . " , look up the error message in rmic ' s resource bundle ; otherwise , defer to java ' s superclass method .
