ecl_exceptions ported for windows.