
## StreamReadException class

The stream reading exception. Caused when stream reading failed due to incorrect offset and bytes count request.



**Inheritance:** [`StreamReadException`](/cad/python-net/aspose.cad.cadexceptions/streamreadexception) → 
[`FrameworkException`](/cad/python-net/aspose.cad.cadexceptions/frameworkexception)



The StreamReadException type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.cadexceptions/streamreadexception/__init__/#str) | Initializes a new instance of the [`StreamReadException`](/cad/python-net/aspose.cad.cadexceptions/streamreadexception) class. |
| [__init__](/cad/python-net/aspose.cad.cadexceptions/streamreadexception/__init__/#str-int-int) | Initializes a new instance of the [`StreamReadException`](/cad/python-net/aspose.cad.cadexceptions/streamreadexception) class. |


### Properties
| Property | Description |
| :- | :- |
| [expected_read_count](/cad/python-net/aspose.cad.cadexceptions/streamreadexception/expected_read_count) | Gets the expected read bytes count. |
| [actual_read_count](/cad/python-net/aspose.cad.cadexceptions/streamreadexception/actual_read_count) | Gets the actual read bytes count. |



### See Also
* module [`aspose.cad.cadexceptions`](..)
* class [`FrameworkException`](/cad/python-net/aspose.cad.cadexceptions/frameworkexception)
* class [`StreamReadException`](/cad/python-net/aspose.cad.cadexceptions/streamreadexception)
