java missing return statement try catch