Maintaining code - Move buildRpcError method into AbstractRpcListener