@Specialization public NilPlaceholder initialize(RubyException exception, RubyString message) { notDesignedForCompilation(); exception.initialize(message, new RubyArray(getContext().getCoreLibrary().getArrayClass())); return NilPlaceholder.INSTANCE; }
@Specialization public RubyString message(RubyException exception) { return exception.getMessage(); }
@Specialization public RubyArray backtrace(RubyException exception) { return exception.getBacktrace(); }