inject exception and logging delegates