Example Java Program With Exception Handling In C