fixed to use standard exception, instead of raising string exception
fixed to use standard exception, instead of raising string exception

dmsurti/mayavi,alexandreleroux/mayavi,dmsurti/mayavi,alexandreleroux/mayavi,liulion/mayavi,liulion/mayavi