cpp: add throw() declaration to what()