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

**All Implemented Interfaces:**
Serializable

```
public final class FontEmbeddingException extends PdfException
```

The exception that is thrown when an attempt to embed font became failed

## Constructors

| Constructor | Description |
| --- | --- |
| [FontEmbeddingException](#FontEmbeddingException-com.aspose.ms.System.Exception-) | Initializes a new instance of the FontEmbeddingException class with a reference to the inner exception that is the cause of this exception. |
| [FontEmbeddingException](#FontEmbeddingException-java.lang.String-) | Initializes a new instance of the {@code FontEmbeddingException} class. |
| [FontEmbeddingException](#FontEmbeddingException-java.lang.String-com.aspose.ms.System.Exception-) | Initializes a new instance of the FontEmbeddingException class with a specified error message and a reference to the inner exception that is the cause of this exception. |

### FontEmbeddingException {#FontEmbeddingException-com.aspose.ms.System.Exception-}
Initializes a new instance of the FontEmbeddingException class with a reference to the inner exception that is the cause of this exception.

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

### FontEmbeddingException {#FontEmbeddingException-java.lang.String-com.aspose.ms.System.Exception-}
Initializes a new instance of the FontEmbeddingException class with a specified error message and a reference to the inner exception that is the cause of this exception.
