Make RefException
s catch
able in IOSim
#607
Merged
RefException
s catch
able in IOSim
#607