---
title: "CompressorException constructor"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.cadexceptions/compressorexception/__init__/"
product: "Aspose.CAD for Python via .NET API References"
---


## __init__ {#str}

Initializes a new instance of the [`CompressorException`](/cad/python-net/aspose.cad.cadexceptions/compressorexception) class.



```python
def __init__(self, message):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| message | str | The exception message. |



### See Also
* module [`aspose.cad.cadexceptions`](../../)
* class [`CompressorException`](/cad/python-net/aspose.cad.cadexceptions/compressorexception)
