// <summary> // ArgumentException with message like "The precondition '{0}' failed. {1}" // </summary> internal static Exception PreconditionFailed(object p0, object p1) { return(new ArgumentException(Strings.PreconditionFailed(p0, p1))); }
// <summary> // InvalidOperationException with message like "Cannot find processor for directive '{0}'." // </summary> internal static Exception UnknownDirectiveProcessor(object p0) { return(new InvalidOperationException(Strings.UnknownDirectiveProcessor(p0))); }
// <summary> // ArgumentException with message like "The argument '{0}' cannot be null, empty or contain only white space." // </summary> internal static Exception ArgumentIsNullOrWhitespace(object p0) { return(new ArgumentException(Strings.ArgumentIsNullOrWhitespace(p0))); }