Class NoDataFoundForThisDay
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.krystofcejchan.lite_weather_lib.enums_exception.exceptions.NoDataFoundForThisDay
- All Implemented Interfaces:
Serializable
thrown if no data were found to the day
thrown in
thrown in
WeatherForecast if user calls
getToday(), getTomorrow ... methods while not including these days in constructor- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoDataFoundForThisDay(String errorMsg) NoDataFoundForThisDay(String errorMsg, Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoDataFoundForThisDay
-
NoDataFoundForThisDay
-
NoDataFoundForThisDay
public NoDataFoundForThisDay()
-
-
Method Details
-
addTime
method throwingNoDataFoundForThisDayAndTime- Parameters:
msg- message to be displayed- Returns:
- NoDataFoundForThisDay with time
-