Fixed issue from trying to throw exception badly. Compiles for MingW too.
Merge pull request #2 from hjones2199/testing

Fixed issue from trying to throw exception badly. Compiles for MingW too...