**Inheritance:**
java.lang.Object, java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException, java.lang.Throwable, java.lang.Exception java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException, java.lang.Exception, java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException, java.lang.RuntimeException, com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException, com.aspose.ms.System.ApplicationException, com.aspose.pdf.exceptions.PdfException

**All Implemented Interfaces:**
Serializable

```
public class PdfException extends com.aspose.ms.System.ApplicationException
```

Represents errors that occur during PDF application execution.

## Constructors

| Constructor | Description |
| --- | --- |
| [PdfException](#PdfException--) | Initializes a new instance of the {@code PdfException} class. |
| [PdfException](#PdfException-java.lang.String-) | Initializes a new instance of the {@code PdfException} class. |
| [PdfException](#PdfException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the {@code PdfException} class. |

## Methods

| Method | Description |
| --- | --- |
| [generateCrashReport](#generateCrashReport-com.aspose.pdf.exceptions.CrashReportOptions-) | Forms crash report based on Exception HTML format |

### PdfException {#PdfException--}
```
public PdfException()
```

Initializes a new instance of the {@code PdfException} class.

### PdfException {#PdfException-java.lang.String-}
Initializes a new instance of the {@code PdfException} class.

### PdfException {#PdfException-java.lang.String-java.lang.Throwable-}
Initializes a new instance of the {@code PdfException} class.

### generateCrashReport {#generateCrashReport-com.aspose.pdf.exceptions.CrashReportOptions-}
Forms crash report based on Exception HTML format
