## PdfException class

Represents errors that occur during PDF application execution.

```csharp
public class PdfException : Exception
```

## Constructors

| Name | Description |
| --- | --- |
| [PdfException](pdfexception/#constructor)() | Initializes a new instance of the `PdfException` class. |
| [PdfException](pdfexception/#constructor_1)(Exception) | Initializes a new instance of the `PdfException` class with a reference to the inner exception that is the cause of this exception. |
| [PdfException](pdfexception/#constructor_2)(string) | Initializes a new instance of the `PdfException` class. |
| [PdfException](pdfexception/#constructor_3)(string, Exception) | Initializes a new instance of the `PdfException` class with a specified error message and a reference to the inner exception that is the cause of this exception. |

## Methods

| Name | Description |
| --- | --- |
| static [GenerateCrashReport](../../aspose.pdf/pdfexception/generatecrashreport/)(CrashReportOptions) | Forms crash report based on Exception HTML format |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


