Removed all deprecated throw() statements.