atoti.exceptions module¶
Custom atoti exceptions.
They disguise the unhelpful Py4J stack traces occuring when Java throws an exception. If any other exception is raised by the code inside the custom hook, it is processed normally.
- exception atoti.exceptions.AtotiException¶
The generic atoti exception class.
All exceptions which inherit from this class will be treated differently when raised. However, this exception is still handled by the default excepthook.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception atoti.exceptions.AtotiJavaException(message, *, java_traceback, java_exception)¶
Exception thrown when Py4J throws a Java exception.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception atoti.exceptions.AtotiNetworkException¶
Exception thrown when Py4J throws a network exception.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.