Replaced @throw with raise
change build setting