import android.util.Log;
import java.io.BufferedReader;
+import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
} catch (MalformedURLException e) {
error = R.string.err_bad_backend_url;
e.printStackTrace();
- } catch (IOException e) {
+ }
+ catch (FileNotFoundException e) {
+ error = R.string.err_bad_auth;
+ e.printStackTrace();
+ }
+ catch (IOException e) {
error = R.string.err_net_io_error;
e.printStackTrace();
}
<string name="menu_hide_acc_title">Hide account</string>
<string name="menu_hide_acc_condensed_title">Hide</string>
<string name="menu_acc_summary_show_hidden_accounts_title">Show hidden accounts</string>
+ <string name="err_bad_auth">Invalid username or password</string>
</resources>