Griffin.Net.Channels.TcpChannel.CreateException C# (CSharp) Method

CreateException() private method

private CreateException ( SocketError socketError ) : Exception
socketError SocketError
return System.Exception
        private Exception CreateException(SocketError socketError)
        {
            try
            {
                throw new SocketException((int)socketError);
            }
            catch (Exception ex)
            {
                return ex;
            }
        }