[BZ-1054907] add missing implementation for error toString and AgendaListener in API5 adapter layer