StreamReadException constructor

init

Initializes a new instance of the StreamReadException class.

def __init__(self, message):
    ...
ParameterTypeDescription
messagestrThe message.

init

Initializes a new instance of the StreamReadException class.

def __init__(self, message, expected_read_count, actual_read_count):
    ...
ParameterTypeDescription
messagestrThe message.
expected_read_countintThe expected read count.
actual_read_countintThe actual read count.

See Also