[REG2.059] Issue 10382 - ICE when catching illegal type

http://d.puremagic.com/issues/show_bug.cgi?id=10382