CmisCmdlets.CmisCommandBase.ValidateSession C# (CSharp) Method

ValidateSession() private method

private ValidateSession ( ISession session ) : void
session ISession
return void
        private void ValidateSession(ISession session)
        {
            if (session == null)
            {
                throw new RuntimeException("Session variable not set. " +
                                           "Did you forget to connect and set a repository?");
            }
        }