| |
- builtins.Exception(builtins.BaseException)
-
- FatalTraCIError
- TraCIException
class FatalTraCIError(builtins.Exception) |
|
FatalTraCIError(desc)
Exception class for all TraCI errors which do not allow for continuation |
|
- Method resolution order:
- FatalTraCIError
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, desc)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors defined here:
- __weakref__
- list of weak references to the object
Static methods inherited from builtins.Exception:
- __new__(*args, **kwargs) class method of builtins.Exception
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- Helper for pickle.
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- add_note(...)
- Exception.add_note(note) --
add a note to the exception
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class TraCIException(builtins.Exception) |
|
TraCIException(desc, command=None, errorType=None)
Exception class for all TraCI errors which keep the connection intact |
|
- Method resolution order:
- TraCIException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, desc, command=None, errorType=None)
- Initialize self. See help(type(self)) for accurate signature.
- getCommand(self)
- getType(self)
Data descriptors defined here:
- __weakref__
- list of weak references to the object
Static methods inherited from builtins.Exception:
- __new__(*args, **kwargs) class method of builtins.Exception
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- Helper for pickle.
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- add_note(...)
- Exception.add_note(note) --
add a note to the exception
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
| |