Click here to Skip to main content
15,886,006 members
Articles / Desktop Programming / Windows Forms

BSEtunes

Rate me:
Please Sign up or sign in to vote.
4.67/5 (11 votes)
24 Apr 2010CPOL4 min read 64.6K   4.3K   58  
BSEtunes is a MySQL based, full manageable, networkable single or multiuser jukebox application
using System;
using System.Collections.Generic;
using System.Text;

namespace BSE.Platten.BO
{
    /// <summary>
    /// The exception that is thrown when an attempt to create a playlist that does already exist.
    /// </summary>
    public class PlaylistAlreadyExistsException : SystemException
    {
        #region Properties
        /// <summary>
        /// Gets or sets the name of the playlist
        /// </summary>
        public string PlaylistName
        {
            get;
            set;
        }
        #endregion

        #region MethodsPublic
        /// <summary>
        /// Initializes a new instance of the <see cref="PlaylistAlreadyExistsException"/>
        /// class with a specified error message and the name of the playlist
        /// </summary>
        /// <param name="strMessage">The error message that explains the reason for the exception.</param>
        /// <param name="strPlaylistName">A <see cref="String"/> containing the full name of the playlist.</param>
        public PlaylistAlreadyExistsException(string strMessage, string strPlaylistName)
            : base(strMessage)
        {
            this.PlaylistName = strPlaylistName;
        }
        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions