Fixed minor bugs inserted in clean-up
[pub/Android/ownCloud.git] / src / com / owncloud / android / syncadapter / AbstractOwnCloudSyncAdapter.java
index 523f06b..b22fdf7 100644 (file)
@@ -4,7 +4,7 @@
  *\r
  *   This program is free software: you can redistribute it and/or modify\r
  *   it under the terms of the GNU General Public License as published by\r
- *   the Free Software Foundation, either version 3 of the License, or\r
+ *   the Free Software Foundation, either version 2 of the License, or\r
  *   (at your option) any later version.\r
  *\r
  *   This program is distributed in the hope that it will be useful,\r
@@ -143,7 +143,7 @@ public abstract class AbstractOwnCloudSyncAdapter extends
         return null;\r
     }\r
 \r
-    protected void initClientForCurrentAccount() throws UnknownHostException {\r
+    protected void initClientForCurrentAccount() throws OperationCanceledException, AuthenticatorException, IOException {\r
         if (AccountUtils.constructFullURLForAccount(getContext(), account) == null) {\r
             throw new UnknownHostException();\r
         }\r