private ActorPath ActorPathParse(string path) { ActorPath actorPath; if(ActorPath.TryParse(path, out actorPath)) return actorPath; throw new UriFormatException(); }