**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 com.aspose.pdf.exceptions.SanitizationException, java.lang.Throwable, java.lang.Exception java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException com.aspose.pdf.exceptions.SanitizationException, java.lang.Exception, java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException com.aspose.pdf.exceptions.SanitizationException, java.lang.RuntimeException, com.aspose.ms.System.Exception com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException com.aspose.pdf.exceptions.SanitizationException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException com.aspose.pdf.exceptions.PdfException com.aspose.pdf.exceptions.SanitizationException, com.aspose.ms.System.ApplicationException, com.aspose.pdf.exceptions.PdfException com.aspose.pdf.exceptions.SanitizationException, com.aspose.pdf.exceptions.PdfException, com.aspose.pdf.exceptions.SanitizationException

**All Implemented Interfaces:**
Serializable

```
public final class SanitizationException extends PdfException
```

The exception that is thrown when an sanitization operation failed.

## Constructors

| Constructor | Description |
| --- | --- |
| [SanitizationException](#SanitizationException--) | Initializes a new instance of the {@link SanitizationException} class. |
| [SanitizationException](#SanitizationException-java.lang.RuntimeException-) | Initializes a new instance of the {@link SanitizationException} class. |
| [SanitizationException](#SanitizationException-java.lang.String-) | Initializes a new instance of the {@link SanitizationException} class. |
| [SanitizationException](#SanitizationException-java.lang.String-java.lang.RuntimeException-) | Initializes a new instance of the {@link SanitizationException} class. |

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

Initializes a new instance of the {@link SanitizationException} class.

### SanitizationException {#SanitizationException-java.lang.RuntimeException-}
Initializes a new instance of the {@link SanitizationException} class.

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

### SanitizationException {#SanitizationException-java.lang.String-java.lang.RuntimeException-}
Initializes a new instance of the {@link SanitizationException} class.
