Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > UnexpectedStructureException Class
The exception that is thrown when the library can not parse a PDF or when the document contains unexpected objects. The exception is also thrown when a PDF does not contain expected objects.

Inheritance Hierarchy

System.Object
  System.Exception
    BitMiracle.Docotic.Pdf.PdfException
      BitMiracle.Docotic.Pdf.UnexpectedStructureException

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[SerializableAttribute]
public class UnexpectedStructureException : PdfException
VB
<SerializableAttribute>
Public Class UnexpectedStructureException
	Inherits PdfException

The UnexpectedStructureException type exposes the following members.

Constructors

  NameDescription
Public methodUnexpectedStructureException()
Initializes a new instance of the UnexpectedStructureException class.
Public methodUnexpectedStructureException(String)
Initializes a new instance of the UnexpectedStructureException class.
Protected methodUnexpectedStructureException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnexpectedStructureException class.
Public methodUnexpectedStructureException(String, Exception)
Initializes a new instance of the UnexpectedStructureException class.

Properties

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Remarks

The Message contains more info about the cause of the exception.

See Also