[#3038] Add RecordListener.exception(RecordContext) and RecordContext.exception()