예제 #1
0
 internal JValueTypeException(int arrayIndex, JValue realValue, string triedType)
     : base("Can not cast array element at index " + arrayIndex + " to " + triedType + ", element type is " + realValue.GetType())
 {
 }
예제 #2
0
 internal JValueTypeException(string key, JValue realValue, string triedType, string exceptionMessageTail)
     : base("Can not cast value mapped to key \"" + key + "\" to " + triedType + ", value type is " + realValue.GetType() + exceptionMessageTail)
 {
 }