Added platform_exception for cross platform issues