Class PdfDocumentException
The class represents general PDF document level exceptions. The PdfDocumentException inherited from the PdfException class
Inheritance
System.Object
PdfDocumentException
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public class PdfDocumentException : PdfException
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. |