## EncodingException class

Represents encoding exception. The exception can be thrown in case problem with encoding/decoding text.

```csharp
public class EncodingException : FontException
```

## Constructors

| Name | Description |
| --- | --- |
| [EncodingException](encodingexception/#constructor)() | Initializes new `EncodingException` object. |
| [EncodingException](encodingexception/#constructor_2)(string) | Initializes new `EncodingException` object. |
| [EncodingException](encodingexception/#constructor_1)(SerializationInfo, StreamingContext) | Initializes new `EncodingException` object. |
| [EncodingException](encodingexception/#constructor_3)(string, Exception) | Initializes new `EncodingException` object. |

### See Also

* class [FontException](../fontexception/)
* namespace [Aspose.Font.Exceptions](../../aspose.font.exceptions/)
* assembly [Aspose.Font](../../)


