Changeset 117

Show
Ignore:
Timestamp:
02/27/2007 12:35:29 (21 months ago)
Author:
lwu
Message:

s/bad argument/bad Hpricot argument/ to make hpricot_scan arg error more obvious

Location:
trunk/ext/hpricot_scan
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ext/hpricot_scan/hpricot_scan.java.rl

    r115 r117  
    235235      port = port.callMethod(runtime.getCurrentContext(),"to_str"); 
    236236    } else { 
    237       throw runtime.newArgumentError("bad argument, String or IO only please."); 
     237      throw runtime.newArgumentError("bad Hpricot argument, String or IO only please."); 
    238238    } 
    239239  } 
  • trunk/ext/hpricot_scan/hpricot_scan.rl

    r110 r117  
    146146    else 
    147147    { 
    148       rb_raise( rb_eArgError, "bad argument, String or IO only please." ); 
     148      rb_raise( rb_eArgError, "bad Hpricot argument, String or IO only please." ); 
    149149    } 
    150150  }