Add missing throw to pyszbase.cc