public static Exception/*!*/ NoBlockGiven() { return CreateLocalJumpError("no block given"); }
public static BlockParam /*!*/ CreateBfcForYield(Proc proc) { if (proc != null) { return(new BlockParam(proc, BlockCallerKind.Yield, false)); } else { throw RubyExceptions.NoBlockGiven(); } }