Update throw syntax