Changed to better exception raising method