throw exception if rathole encountered