AY1920S1-CS2113T-F09-1 / main

Duke$$$ is a Command Line based Financial Tracker Assistant
0 stars 5 forks source link

Added exceptions handling for weather feature to resolve issue #117, #206 , #161 , #169 , #160 , #148, #147 ,#136 ,#135 #118

Closed priyan-coder closed 5 years ago

priyan-coder commented 5 years ago

Okay now regardless of whatever wrong format user inputs, the system will show them the proper format to print the data and it also returns the weather for the current instance real time as it assumes user is in a rush.

Also, if the API call returns a null JSON, we will be able to handle that and return that weather data is not available. However, this scenario is unlikely as we are using an open source and approved API.

But there is one problem with the checkstyle. It is just that one error which doesnt allow import java.util.*

I have tried direct importing of linked hashmap and hashset, arrays, list already but the ide resorts to auto importing the java.util.*

minor_checkstyle_error

Solves issues : #117, #206 , #161 , #169 , #160 , #148, #147 ,#136 ,#135