Class PdfDocumentException
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.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
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