Question: 12. Create your own exception type by creating a class called StuffyException. 13. Write code that will use the above StuffyException class by creating an
12. Create your own exception type by creating a class called StuffyException.
13. Write code that will use the above StuffyException class by creating an object with it. Specify the error announcement with Hey, you messed up and then throw the exception.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
