Ejemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="YoutubeVideoNotAvailableException"/> class
 ///     with specified error message.
 /// </summary>
 ///
 /// <param name="video">
 ///     <see cref="YoutubeVideo"/> that was unavailable.
 /// </param>
 /// <param name="message">
 ///     The message that describes the error.
 /// </param>
 public YoutubeVideoNotAvailableException(YoutubeVideo video, string message) : base(message)
 {
     _video = video;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="YoutubeVideoNotAvailableException"/> class
 ///     with the <see cref="YoutubeVideo"/> that was unavailable.
 /// </summary>
 ///
 /// <param name="video">
 ///     <see cref="YoutubeVideo"/> that was unavailable.
 /// </param>
 public YoutubeVideoNotAvailableException(YoutubeVideo video) : base()
 {
     _video = video;
 }