Exceptions Module
Special exception classes that may be useful
- exception mtf.diag_port.sfa.exceptions.ConfigException
An exception to be used for invalid config files
- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception mtf.diag_port.sfa.exceptions.PathLengthException
An exception for paths that are too long
- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception mtf.diag_port.sfa.exceptions.TimeoutException
An exception that is raised once a timeout has come
- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.