tik4net.Api.ApiCommand.ThrowPossibleResponseError C# (CSharp) Метод

ThrowPossibleResponseError() приватный Метод

private ThrowPossibleResponseError ( ) : void
Результат void
        private void ThrowPossibleResponseError(params ApiSentence[] responseSentences)
        {
            foreach (ApiSentence responseSentence in responseSentences)
            {
                ApiTrapSentence trapSentence = responseSentence as ApiTrapSentence;
                if (trapSentence != null)
                    throw new TikCommandException(this, trapSentence);
                ApiFatalSentence fatalSentence = responseSentence as ApiFatalSentence;
                if (fatalSentence != null)
                    throw new TikCommandException(this, fatalSentence.Message);
            }
        }