static RaiseException newException(ThreadContext context,
String className, RubyString message) {
RuntimeInfo info = RuntimeInfo.forRuntime(context.getRuntime());
RubyClass klazz = info.jsonModule.get().getClass(className);
RubyException excptn =
(RubyException)klazz.newInstance(context,
new IRubyObject[] {message}, Block.NULL_BLOCK);
return new RaiseException(excptn);
}
static byte[] repeat(ByteList a, int n) {