Exception catch in TUI