You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say you get 100 movies and only one has an error. You app would break because of that. It's usually not a good idea to leave the exceptions there. In this case It's better if you catch it, and simply don't add anything in the array in that step.
That way your app will continue working even though the server sends you a movie in wrong format
The text was updated successfully, but these errors were encountered:
Flixster/app/src/main/java/com/example/flixster2/Movie.java
Line 33 in 663b54f
Let's say you get 100 movies and only one has an error. You app would break because of that. It's usually not a good idea to leave the exceptions there. In this case It's better if you catch it, and simply don't add anything in the array in that step.
That way your app will continue working even though the server sends you a movie in wrong format
The text was updated successfully, but these errors were encountered: