File tree Expand file tree Collapse file tree 8 files changed +9
-8
lines changed
Expand file tree Collapse file tree 8 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 88import spotify .api .interfaces .AlbumApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .albums .AlbumFull ;
1413import spotify .models .albums .AlbumFullCollection ;
1514import spotify .models .paging .Paging ;
1615import spotify .models .tracks .TrackSimplified ;
1716import spotify .retrofit .services .AlbumService ;
17+ import spotify .utils .ResponseChecker ;
1818import spotify .utils .ValidatorUtil ;
1919
2020import java .io .IOException ;
Original file line number Diff line number Diff line change 99import spotify .api .interfaces .ArtistApi ;
1010import spotify .config .ApiUrl ;
1111import spotify .exceptions .HttpRequestFailedException ;
12- import spotify .exceptions .ResponseChecker ;
1312import spotify .factories .RetrofitClientFactory ;
1413import spotify .models .artists .ArtistFull ;
1514import spotify .models .artists .ArtistFullCollection ;
1615import spotify .models .artists .ArtistSimplified ;
1716import spotify .models .paging .Paging ;
1817import spotify .models .tracks .TrackFullCollection ;
1918import spotify .retrofit .services .ArtistService ;
19+ import spotify .utils .ResponseChecker ;
2020import spotify .utils .ValidatorUtil ;
2121
2222import java .io .IOException ;
Original file line number Diff line number Diff line change 88import spotify .api .interfaces .BrowseApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .albums .AlbumSimplifiedPaging ;
1413import spotify .models .categories .CategoryFull ;
1716import spotify .models .playlists .PlaylistSimplifiedPaging ;
1817import spotify .models .recommendations .RecommendationCollection ;
1918import spotify .retrofit .services .BrowseService ;
19+ import spotify .utils .ResponseChecker ;
2020import spotify .utils .ValidatorUtil ;
2121
2222import java .io .IOException ;
Original file line number Diff line number Diff line change 88import spotify .api .interfaces .EpisodeApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .episodes .EpisodeFull ;
1413import spotify .models .episodes .EpisodeFullCollection ;
1514import spotify .retrofit .services .EpisodeService ;
15+ import spotify .utils .ResponseChecker ;
1616import spotify .utils .ValidatorUtil ;
1717
1818import java .io .IOException ;
Original file line number Diff line number Diff line change 88import spotify .api .interfaces .ShowApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .episodes .EpisodeSimplified ;
1413import spotify .models .paging .Paging ;
1514import spotify .models .shows .ShowFull ;
1615import spotify .models .shows .ShowSimplifiedCollection ;
1716import spotify .retrofit .services .ShowService ;
17+ import spotify .utils .ResponseChecker ;
1818import spotify .utils .ValidatorUtil ;
1919
2020import java .io .IOException ;
Original file line number Diff line number Diff line change 88import spotify .api .interfaces .TrackApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .audio .AudioAnalysis ;
1413import spotify .models .audio .AudioFeatures ;
1514import spotify .models .audio .AudioFeaturesCollection ;
1615import spotify .models .tracks .TrackFull ;
1716import spotify .models .tracks .TrackFullCollection ;
1817import spotify .retrofit .services .TrackService ;
18+ import spotify .utils .ResponseChecker ;
1919import spotify .utils .ValidatorUtil ;
2020
2121import java .io .IOException ;
Original file line number Diff line number Diff line change 88import spotify .api .interfaces .UserApi ;
99import spotify .config .ApiUrl ;
1010import spotify .exceptions .HttpRequestFailedException ;
11- import spotify .exceptions .ResponseChecker ;
1211import spotify .factories .RetrofitClientFactory ;
1312import spotify .models .users .User ;
1413import spotify .retrofit .services .UserService ;
14+ import spotify .utils .ResponseChecker ;
1515
1616import java .io .IOException ;
1717
Original file line number Diff line number Diff line change 1- package spotify .exceptions ;
1+ package spotify .utils ;
22
33
44import com .google .gson .Gson ;
55import okhttp3 .ResponseBody ;
66import org .slf4j .Logger ;
77import org .slf4j .LoggerFactory ;
8+ import spotify .exceptions .SpotifyActionFailedException ;
89import spotify .models .errors .SpotifyError ;
910
1011public class ResponseChecker {
You can’t perform that action at this time.
0 commit comments