Akka.Remote.EndpointWriter.PublishAndThrow C# (CSharp) 메소드

PublishAndThrow() 개인적인 메소드

private PublishAndThrow ( Exception reason, LogLevel level ) : void
reason System.Exception
level LogLevel
리턴 void
        private void PublishAndThrow(Exception reason, LogLevel level)
        {
            reason.Match().With<EndpointDisassociatedException>(endpoint => PublishDisassociated())
                .Default(msg => PublishError(reason, level));

            throw reason;
        }