Пример #1
0
 public ArgumentRegularArrayElementException(string paramName, string message, Exception innerException, int index)
     : base(string.Format(message, PwrArray.FormatAsRegularIndices(new int[] { index })), paramName, innerException)
 {
     _indices = new int[] { index };
 }
Пример #2
0
 public ArgumentRegularArrayElementException(string paramName, int index)
     : base(string.Format(DefaultMessage, PwrArray.FormatAsRegularIndices(new int[] { index })), paramName)
 {
     _indices = new int[] { index };
 }
Пример #3
0
 public ArgumentRegularArrayElementException(string paramName, string message, Exception innerException, params int[] indices)
     : base(string.Format(message, PwrArray.FormatAsRegularIndices(indices)), paramName, innerException)
 {
     _indices = (int[])indices.Clone();
 }
Пример #4
0
 public ArgumentRegularArrayElementException(string paramName, params int[] indices)
     : base(string.Format(DefaultMessage, PwrArray.FormatAsRegularIndices(indices)), paramName)
 {
     _indices = (int[])indices.Clone();
 }