Class EpubContentException
Represents an exception thrown by the EpubReader due to a missing content file within the EPUB archive.
Inherited Members
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public class EpubContentException : EpubReaderException
Constructors
View SourceEpubContentException(string)
Initializes a new instance of the EpubContentException class with a specified content file path.
Declaration
public EpubContentException(string contentFilePath)
Parameters
Type | Name | Description |
---|---|---|
string | contentFilePath | The path of the content file that caused the error. |
EpubContentException(string, Exception?, string)
Initializes a new instance of the EpubContentException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a specified content file path.
Declaration
public EpubContentException(string message, Exception? innerException, string contentFilePath)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a |
string | contentFilePath | The path of the content file that caused the error. |
EpubContentException(string, string)
Initializes a new instance of the EpubContentException class with a specified error and a specified content file path.
Declaration
public EpubContentException(string message, string contentFilePath)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
string | contentFilePath | The path of the content file that caused the error. |
Properties
View SourceContentFilePath
Gets the path of the content file that caused the error.
Declaration
public string ContentFilePath { get; }