// --------------------------------------------------------------------------------------------------------------------
//
// 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 HandBrakeWPF.Helpers
{
using System;
///
/// The validate.
///
public 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);
}
}
}
}