smartinspectpython.siargumentnullexception

Module: siargumentnullexception.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIArgumentNullException(builtins.Exception):

The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument.

SIArgumentNullException(paramName: str)

Initializes a new instance of the class with the name of the parameter that causes this exception.

Message: str

Gets the error message and the parameter name, or only the error message if no parameter name is set.

paramName: str

Gets the name of the parameter that causes this exception.