Home
last modified time | relevance | path

Searched refs:ApiException (Results 1 – 6 of 6) sorted by relevance

/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java94 public static class ApiException extends Exception { class in SimpleWikiHelper
95 public ApiException(String detailMessage, Throwable throwable) { in ApiException() method in SimpleWikiHelper.ApiException
99 public ApiException(String detailMessage) { in ApiException() method in SimpleWikiHelper.ApiException
145 throws ApiException, ParseException { in getPageContent()
176 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent()
178 throw new ApiException("User-Agent string must be prepared"); in getUrlContent()
192 throw new ApiException("Invalid response from server: " + in getUrlContent()
211 throw new ApiException("Problem communicating with API", e); in getUrlContent()
DWordWidget.java19 import com.example.android.simplewiktionary.SimpleWikiHelper.ApiException;
86 } catch (ApiException e) { in buildUpdate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java87 public static class ApiException extends Exception { class in SimpleWikiHelper
88 public ApiException(String detailMessage, Throwable throwable) { in ApiException() method in SimpleWikiHelper.ApiException
92 public ApiException(String detailMessage) { in ApiException() method in SimpleWikiHelper.ApiException
138 throws ApiException, ParseException { in getPageContent()
169 protected static synchronized String getUrlContent(String url) throws ApiException { in getUrlContent()
171 throw new ApiException("User-Agent string must be prepared"); in getUrlContent()
185 throw new ApiException("Invalid response from server: " + in getUrlContent()
204 throw new ApiException("Problem communicating with API", e); in getUrlContent()
DWordWidget.java19 import com.example.android.wiktionary.SimpleWikiHelper.ApiException;
96 } catch (ApiException e) { in buildUpdate()
DLookupActivity.java19 import com.example.android.wiktionary.SimpleWikiHelper.ApiException;
295 } catch (ApiException e) { in doInBackground()
DExtendedWikiHelper.java200 public static String getRandomWord() throws ApiException, ParseException { in getRandomWord()