## FontEmbeddingException(string) {#constructor_1}

Initializes a new instance of the [`FontEmbeddingException`](../) class.

```csharp
public FontEmbeddingException(string message)
```

| Parameter | Type | Description |
| --- | --- | --- |
| message | String | The message. |

### See Also

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

---

## FontEmbeddingException(string, Exception) {#constructor_2}

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.

```csharp
public FontEmbeddingException(string message, Exception innerException)
```

| Parameter | Type | Description |
| --- | --- | --- |
| message | String | The error message that explains the reason for the exception. |
| innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |

### See Also

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

---

## FontEmbeddingException(Exception) {#constructor}

Initializes a new instance of the [`FontEmbeddingException`](../) class with a reference to the inner exception that is the cause of this exception.

```csharp
public FontEmbeddingException(Exception innerException)
```

| Parameter | Type | Description |
| --- | --- | --- |
| innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |

### See Also

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


