Show / Hide Table of Contents

Class EpubSchemaException

Represents a base class for exceptions thrown by the EpubReader due to a schema parsing error.

Inheritance
object
Exception
EpubReaderException
EpubSchemaException
Epub2NcxException
Epub3NavException
EpubContainerException
EpubPackageException
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 abstract class EpubSchemaException : EpubReaderException

Constructors

View Source

EpubSchemaException(string, Exception?, EpubSchemaFileType)

Initializes a new instance of the EpubSchemaException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a specified schema file type.

Declaration
protected EpubSchemaException(string message, Exception? innerException, EpubSchemaFileType schemaFileType)
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.

EpubSchemaFileType schemaFileType

The type of the schema file that caused the error.

View Source

EpubSchemaException(string, EpubSchemaFileType)

Initializes a new instance of the EpubSchemaException class with a specified error and a specified schema file type.

Declaration
protected EpubSchemaException(string message, EpubSchemaFileType schemaFileType)
Parameters
Type Name Description
string message

The message that describes the error.

EpubSchemaFileType schemaFileType

The type of the schema file that caused the error.

View Source

EpubSchemaException(EpubSchemaFileType)

Initializes a new instance of the EpubSchemaException class with a specified schema file type.

Declaration
protected EpubSchemaException(EpubSchemaFileType schemaFileType)
Parameters
Type Name Description
EpubSchemaFileType schemaFileType

The type of the schema file that caused the error.

Properties

View Source

SchemaFileType

Gets the type of the schema file that caused the error.

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