Removed SystemException. Replaced with custom exceptions.