//------------------------------------------------------------------------------
// <copyright file="ArgumentNullException.java" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <summary>
//      Implement ArgumentNullException
// </summary>
//------------------------------------------------------------------------------

package com.microsoft.hpc.exceptions;

/**
 * The ArgumentNullException is a <code>RuntimeException</code> which indicates an parameter was null when it shouldn't be.
 *
 */
public class ArgumentNullException extends ArgumentException
{

    /**
     * 
     */
    private static final long serialVersionUID = 4269721859624481592L;

    /**
     * Constructs a new ArgumentNullException with a parameter for the argument in question.
     * @param arg   the argument which threw the exception.
     */
    public ArgumentNullException(Object arg)
    {
        super(arg + " cannot be null);");
    }
}
