Handle paste exceptions