# 5)What happens when an exception is thrown?



![](https://2172743581-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4k4liN--SZ6ay4iod%2F-LaZc3ODmgr-_JeQDWt9%2F-LaZc4KK-qfTotqaDl0A%2Fimage.png?alt=media\&token=5b413ee1-f705-4744-aea3-60783ab06392)

![](https://2172743581-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4k4liN--SZ6ay4iod%2F-LaZc3ODmgr-_JeQDWt9%2F-LaZc8vCO434HdvlmmTl%2Fimage.png?alt=media\&token=77661f88-b842-445d-ab6a-c5a37a5509dd)

![](https://2172743581-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4k4liN--SZ6ay4iod%2F-LaZc3ODmgr-_JeQDWt9%2F-LaZcF5S7WBXZSld4T10%2Fimage.png?alt=media\&token=5832f01e-69df-4fdd-9534-08ab97d05527)

![](https://2172743581-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4k4liN--SZ6ay4iod%2F-LaZc3ODmgr-_JeQDWt9%2F-LaZcQ3nkDDm1sQ-n1TW%2Fimage.png?alt=media\&token=41986091-1ef1-4a74-ae15-c6e7ff1fb13f)

