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