fix throwing of exceptions, should be "throw new Exception(...)"
Merge remote-tracking branch 'upstream/master'
add missing visibility declaration to properies and methods
Merge pull request #130 from zghosts/master

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