Hello, Im writing some code In Microsoft Visual Studio for a very very basic menu, and I need to write an exception. This exception is supposed to activate if any entries have a value below 0 in savings and checking. I believe I have thrown the exception and I have an exception class, however I cannot get the program to recognize the exception. What exactly am I doing wrong for the exception to not be thrown, and can you show me how to fix it?
Currently I am only trying to make the exception attempt in savings.
Note: I just need to make the exception work, everything else is perfect for what Im doing.
This is my code.
Thank you for any help you can give.