Changed exception types thrown so they are more appropriate.
Changed exception types thrown so they are more appropriate.


LogicalKnight/scipy-cluster,deads/scipy-cluster,krrepo/scipy-cluster,deads/scipy-cluster,ozcanesen/scipy-cluster,tectronics/scipy-cluster,LogicalKnight/scipy-cluster,LogicalKnight/scipy-cluster,tectronics/scipy-cluster,krrepo/scipy-cluster,ozcanesen/scipy-cluster,ozcanesen/scipy-cluster,krrepo/scipy-cluster,deads/scipy-cluster,tectronics/scipy-cluster,tectronics/scipy-cluster,krrepo/scipy-cluster,LogicalKnight/scipy-cluster,deads/scipy-cluster,ozcanesen/scipy-cluster