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