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.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)