PdfDocumentException Class
The class represents general PDF document level exceptions. The PdfDocumentException inherited from the PdfException class
Inheritance
System.Object
System.Exception
PdfDocumentException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.Data
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.SerializeObjectState
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfDocumentException : PdfException, ISerializable, _Exception
Constructors
PdfDocumentException()
Initializes object by default error message.
Declaration
public PdfDocumentException()
PdfDocumentException(Exception)
Initializes object by default error message and inner exception object.
Declaration
public PdfDocumentException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception. |
PdfDocumentException(String)
Initializes object by specified error message.
Declaration
public PdfDocumentException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | User defined error message. |
PdfDocumentException(String, Exception)
Initializes object by specified error message and inner exception object.
Declaration
public PdfDocumentException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | User defined error message. |
System.Exception | innerException | The inner exception. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception