// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The validate. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices.Interop.Helpers { using System; /// /// The validate. /// internal class Validate { /// /// The not null. /// /// /// The item. /// /// /// The message. /// /// /// Thrown when the input object is null /// public static void NotNull(object item, string message) { if (item == null) { throw new ArgumentException(message); } } } }