Class EpubSchemaException
Represents a base class for exceptions thrown by the EpubReader due to a schema parsing error.
Inheritance
Inherited Members
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public abstract class EpubSchemaException : EpubReaderException
Constructors
View SourceEpubSchemaException(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 |
EpubSchemaFileType | schemaFileType | The type of the schema file that caused the error. |
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. |
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 SourceSchemaFileType
Gets the type of the schema file that caused the error.
Declaration
public EpubSchemaFileType SchemaFileType { get; }