TryCatch Java Developer assessment