This commit is contained in:
Reinhard Pointner 2012-09-26 01:00:36 +00:00
parent 79b58654ca
commit cc5aec8374
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ public class TheTVDBClient extends AbstractEpisodeListProvider {
zipInputStream.close();
}
} catch (FileNotFoundException e) {
throw new IllegalArgumentException(String.format("Series record not found: %s [%s]: %s", searchResult.getName(), languageCode, seriesRecord));
throw new FileNotFoundException(String.format("Series record not found: %s [%s]: %s", searchResult.getName(), languageCode, seriesRecord));
}
}

View File

@ -32,7 +32,7 @@ console.println('OK')
console.print('Testing Sublight... ')
WebServices.Sublight.setClient(sublightClientId, sublightApiKey)
WebServices.Sublight.setUser(osdbUser, osdbPwd)
WebServices.Sublight.setUser(sublightUser, sublightPwd)
WebServices.Sublight.getSubtitleList(null, 'Avatar', 2009, 'English')
console.println('OK')