Wrapped object mapping in exception handler