Fix two buggy attempts to throw exceptions
Fix two buggy attempts to throw exceptions

Sinar/mapit,chris48s/mapit,New-Bamboo/mapit,chris48s/mapit,Code4SA/mapit,opencorato/mapit,Sinar/mapit,opencorato/mapit,opencorato/mapit,New-Bamboo/mapit,chris48s/mapit,Code4SA/mapit,Code4SA/mapit