Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    Maybe you're thinking of Java exceptions: docs.oracle.com/javase/tutorial/essential/exceptions Commented Aug 10, 2017 at 18:26
  • May be you should have a look at this Commented Aug 10, 2017 at 18:29
  • 1
    This is bad practice in Python. You definitely shouldn't do it there. I guess the equivalent in Java is catch (Exception e), although, probably that is equivalent to python except Exception as e: Commented Aug 10, 2017 at 18:30