Fix exception type
Fix exception type

lpsinger/astropy,tbabej/astropy,larrybradley/astropy,aleksandr-bakanov/astropy,saimn/astropy,astropy/astropy,larrybradley/astropy,dhomeier/astropy,StuartLittlefair/astropy,tbabej/astropy,pllim/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,saimn/astropy,aleksandr-bakanov/astropy,joergdietrich/astropy,pllim/astropy,DougBurke/astropy,bsipocz/astropy,bsipocz/astropy,funbaker/astropy,kelle/astropy,kelle/astropy,dhomeier/astropy,kelle/astropy,mhvk/astropy,dhomeier/astropy,lpsinger/astropy,joergdietrich/astropy,MSeifert04/astropy,tbabej/astropy,astropy/astropy,DougBurke/astropy,funbaker/astropy,kelle/astropy,astropy/astropy,bsipocz/astropy,astropy/astropy,larrybradley/astropy,tbabej/astropy,mhvk/astropy,funbaker/astropy,saimn/astropy,aleksandr-bakanov/astropy,stargaser/astropy,MSeifert04/astropy,bsipocz/astropy,joergdietrich/astropy,funbaker/astropy,stargaser/astropy,pllim/astropy,MSeifert04/astropy,MSeifert04/astropy,pllim/astropy,dhomeier/astropy,pllim/astropy,AustereCuriosity/astropy,saimn/astropy,mhvk/astropy,larrybradley/astropy,joergdietrich/astropy,AustereCuriosity/astropy,DougBurke/astropy,AustereCuriosity/astropy,lpsinger/astropy,StuartLittlefair/astropy,AustereCuriosity/astropy,joergdietrich/astropy,stargaser/astropy,lpsinger/astropy,mhvk/astropy,mhvk/astropy,AustereCuriosity/astropy,astropy/astropy,lpsinger/astropy,larrybradley/astropy,stargaser/astropy,tbabej/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,DougBurke/astropy,saimn/astropy,dhomeier/astropy,kelle/astropy