Removed most throw declarations (deprecated by C++0x and dangerous)