Changed all empty throw()'s to error()