private async Task<IActorRef> InnerResolveOne(TimeSpan timeout)
{
try
{
var identity = await this.Ask<ActorIdentity>(new Identify(null), timeout);
if(identity.Subject == null)
throw new ActorNotFoundException("subject was null");
return identity.Subject;
}
catch(Exception ex)
{
throw new ActorNotFoundException("Exception ocurred while resolving ActorSelection", ex);
}
}