raise and catch a proper error while expr mapping generics (fixed issue #1508)

git-svn-id: http://haxe.googlecode.com/svn/trunk@6227 f16182fa-f095-11de-8f43-4547254af6c6