public EbookException(Ebook ebook, string message, Exception innerException) : base(message, innerException) { Ebook = ebook; }
public EbookException(Ebook ebook, string message) : base(message) { Ebook = ebook; }
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) { }
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}.") { }
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) { }
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}.") { }