Right, so I got this program. It takes input from the user and assigns it to fields on an object. But, it's meant to check the users input. If the user enters bad input, it's supposed to throw this exception. For each of these exceptions, theres a class specifically for it.
And this is the exception class.
It's just meant to tell the user that they entered an invalid value, which would mean if they entered an empty
string instead of a name.
I've never really been good at exception handling, so it's quite confusing to me.