예제 #1
0
 void Fail(long frameLength)
 {
     if (frameLength > 0)
     {
         CThrowHelper.ThrowTooLongFrameException(_maxFrameLength, frameLength);
     }
     else
     {
         CThrowHelper.ThrowTooLongFrameException(_maxFrameLength);
     }
 }