using System;
namespace Umbraco.Core.Exceptions
{
///
/// The exception that is thrown when a null reference, or an empty argument,
/// is passed to a method that does not accept it as a valid argument.
///
public class ArgumentNullOrEmptyException : ArgumentNullException
{
///
/// Initializes a new instance of the class
/// with the name of the parameter that caused this exception.
///
/// The named of the parameter that caused the exception.
public ArgumentNullOrEmptyException(string paramName)
: base(paramName)
{ }
///
/// Initializes a new instance of the class
/// with a specified error message and the name of the parameter that caused this exception.
///
/// The named of the parameter that caused the exception.
/// A message that describes the error.
public ArgumentNullOrEmptyException(string paramName, string message)
: base(paramName, message)
{ }
}
}