Exemple #1
0
 public ParseException(ParseException innerException, string json)
     : this(GetWrappedExceptionMessage(innerException, json), innerException.TokenString, innerException.Line, innerException.Position, innerException)
 {
 }
Exemple #2
0
 private static string GetWrappedExceptionMessage(ParseException innerException, string json)
 {
     return "{0}\r\nInner Exception: {1}".FormatWith(innerException.PrettyPrint(json), innerException);
 }