FIX: attempt at fixing issue #515 (Windows exception not caught)
FIX: attempt at fixing issue #515 (Windows exception not caught)

rheber/red,red-eco/red,rheber/red,iArnold/red,red-eco/red,vehar/red,vehar/red,NikolayShubenkovProgSchool/red,iArnold/red,NikolayShubenkovProgSchool/red