Hello, I don't know if the beginners forum is the right place for this but i will give it a go. I am having trouble trying to find the cause of this error message, "unreported exception NotEnoughMoney; must be caught or declared to be thrown" Line 315
I think i may have messed up the formating of the code, when i cut and pasted it into this post, hopefully you can make it out. I am presuming that this error is syntactic, and has something to do with the "withdraw_Action, or the transfer_Action methods near the bottom of the code.
Any help, in getting rid of this compiler method would be appreciated would be very much appreciated, very much. Sorry about the length of code included in the post
NB, this is for a educational course, but i don't think it violates any board rules to post something like this here?
cheerio
Also the following is the definition of the NotEnoughMoney exception, don't know if it is needed.