add bb.throw snippet