fix throwing of exceptions, should be "throw new Exception(...)"

Hi Josh,

I found this lying around, should fix a fatal error