distinction between local and remote exceptions