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


## __init__ {#}

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



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




## __init__ {#str}

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



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


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



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