public EbookException(Ebook ebook, string message, Exception innerException) : base(message, innerException)
 {
     Ebook = ebook;
 }
 public EbookException(Ebook ebook, string message) : base(message)
 {
     Ebook = ebook;
 }
Example #3
0
 public EbookDownloadException(Ebook ebook, Exception innerException) : base(ebook, $"An exception occured while downloading the e-book {ebook.Title} (ISBN: {ebook.Isbn}) from the publisher {ebook.Publisher} through the provider {ebook.Provider}. See innerException for more details.", innerException)
 {
 }
Example #4
0
 public EbookDownloadException(Ebook ebook) : base(ebook, $"An exception occured while downloading the e-book {ebook.Title} (ISBN: {ebook.Isbn}) from the publisher {ebook.Publisher} through the provider {ebook.Provider}.")
 {
 }
Example #5
0
 public EbookPublisherNotImplementedException(Ebook ebook, Exception innerException) : base(ebook, $"The publisher {ebook.Publisher} of e-book {ebook.Title} (ISBN: {ebook.Isbn}) has not been implemented yet for the provider: {ebook.Provider}. See innerException for more details.", innerException)
 {
 }
Example #6
0
 public EbookPublisherNotImplementedException(Ebook ebook) : base(ebook, $"The publisher {ebook.Publisher} of e-book {ebook.Title} (ISBN: {ebook.Isbn}) has not been implemented yet for the provider: {ebook.Provider}.")
 {
 }