difference between raising and generating an exception code example Example: throwing an exception python raise Exception("message")