Example #1
0
            static void ThrowTooLongFrameException(HeaderParser parser, int length)
            {
                throw GetTooLongFrameException();

                TooLongFrameException GetTooLongFrameException()
                {
                    return(new TooLongFrameException(parser.NewExceptionMessage(length)));
                }
            }