From d2175120d47045e27fbe57b0abf67a9df1d2ec50 Mon Sep 17 00:00:00 2001 From: Martin Eyben Date: Fri, 29 Nov 2024 09:03:43 +0000 Subject: [PATCH] fix: documentation --- src/main/java/eirb/pg203/WeatherDataAPI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eirb/pg203/WeatherDataAPI.java b/src/main/java/eirb/pg203/WeatherDataAPI.java index 3f9ec02..e9bc5c6 100644 --- a/src/main/java/eirb/pg203/WeatherDataAPI.java +++ b/src/main/java/eirb/pg203/WeatherDataAPI.java @@ -15,7 +15,7 @@ public interface WeatherDataAPI { * @param day Since D+0 * @param city Localisation * @return Temperature of the day from the city - * @throws IOException when request failed + * @throws WeatherFetchingException when request failed */ WeatherData getTemperature(int day, String city) throws WeatherFetchingException; @@ -25,7 +25,7 @@ public interface WeatherDataAPI { * @param hour Since H+0 * @param city Localisation * @return Temperature of the day for a hour from the city - * @throws IOException when request failed + * @throws WeatherFetchingException when request failed */ WeatherData getTemperature(int day, int hour, String city) throws WeatherFetchingException; @@ -34,7 +34,7 @@ public interface WeatherDataAPI { * @param days number of days to fetch * @param city name of te city * @return List of WeatherData - * @throws IOException when request failed + * @throws WeatherFetchingException when request failed */ ArrayList getTemperatures(int days, String city) throws WeatherFetchingException;