exception handling for modify or reply.