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