Implements protocol exceptions.