Creating Custom Exceptions

In this lesson, we'll walk through how you can create your own custom exceptions.

What are custom exceptions?

These are exceptions, created by the user, in which you can have your own custom message. They can either be checked or unchecked.

Get hands-on with 1400+ tech skills courses.