public MessageException(string[] message, int minLenght, string formatSample)
     : base(string.Format("Wrong message length. Expected minimum lenght: {0}, but actual lenght: {1}. Message was: '{2}', expected format: '{3}'", (object)minLenght, (object)message.Length, (object)MessageException.ComputeArray((IEnumerable <string>)message), (object)formatSample))
 {
 }
예제 #2
0
 public MessageException(string[] message, int minLenght, string formatSample) : base(string.Format("Wrong message length. Expected minimum lenght: {0}, but actual lenght: {1}. Message was: '{2}', expected format: '{3}'", new object[] { minLenght, (int)message.Length, MessageException.ComputeArray(message), formatSample }))
 {
 }