Show / Hide Table of Contents

Class EpubContentException

Represents an exception thrown by the EpubReader due to a missing content file within the EPUB archive.

Inheritance
object
Exception
EpubReaderException
EpubContentException
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public class EpubContentException : EpubReaderException

Constructors

View Source

EpubContentException(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.

View Source

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 null reference if no inner exception is specified.

string contentFilePath

The path of the content file that caused the error.

View Source

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 Source

ContentFilePath

Gets the path of the content file that caused the error.

Declaration
public string ContentFilePath { get; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX