Changes to the exception class

I believe this is the basic functionality you are looking for... pretty much just creating a log function todo later, calling it to add information to a log file. And then passing the information up the chain to the actual Exception class for it to create the instance of the exception there...

..Let me know ;)