## InvalidCodeException class

The Exception will be thrown when invalid characters contained in the code text.

```csharp
public class InvalidCodeException : BarCodeException
```

## Constructors

| Name | Description |
| --- | --- |
| [InvalidCodeException](invalidcodeexception/#constructor)() | Initializes a new instance of the `InvalidCodeException` class. |
| [InvalidCodeException](invalidcodeexception/#constructor_1)(string) | Initializes a new instance of the InvalidCodeException class with a specified error message. |

### See Also

* class [BarCodeException](../barcodeexception/)
* namespace [Aspose.BarCode](../../aspose.barcode/)
* assembly [Aspose.BarCode](../../)


