HomeSort by relevance Sort by last modified time
    Searched refs:ApiException (Results 1 - 7 of 7) sorted by null

  /development/samples/Wiktionary/src/com/example/android/wiktionary/
SimpleWikiHelper.java 87 public static class ApiException extends Exception {
88 public ApiException(String detailMessage, Throwable throwable) {
92 public ApiException(String detailMessage) {
134 * @throws ApiException If any connection or server error occurs.
138 throws ApiException, ParseException {
167 * @throws ApiException If any connection or server error occurs.
169 protected static synchronized String getUrlContent(String url) throws ApiException {
171 throw new ApiException("User-Agent string must be prepared");
185 throw new ApiException("Invalid response from server: " +
204 throw new ApiException("Problem communicating with API", e)
    [all...]
WordWidget.java 19 import com.example.android.wiktionary.SimpleWikiHelper.ApiException;
96 } catch (ApiException e) {
LookupActivity.java 19 import com.example.android.wiktionary.SimpleWikiHelper.ApiException;
295 } catch (ApiException e) {
ExtendedWikiHelper.java 197 * @throws ApiException If any connection or server error occurs.
200 public static String getRandomWord() throws ApiException, ParseException {
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java 94 public static class ApiException extends Exception {
95 public ApiException(String detailMessage, Throwable throwable) {
99 public ApiException(String detailMessage) {
141 * @throws ApiException If any connection or server error occurs.
145 throws ApiException, ParseException {
174 * @throws ApiException If any connection or server error occurs.
176 protected static synchronized String getUrlContent(String url) throws ApiException {
178 throw new ApiException("User-Agent string must be prepared");
192 throw new ApiException("Invalid response from server: " +
211 throw new ApiException("Problem communicating with API", e)
    [all...]
WordWidget.java 19 import com.example.android.simplewiktionary.SimpleWikiHelper.ApiException;
86 } catch (ApiException e) {
  /external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
StackdriverExporterWorker.java 21 import com.google.api.gax.rpc.ApiException;
151 } catch (ApiException e) {
152 logger.log(Level.WARNING, "ApiException thrown when creating MetricDescriptor.", e);
157 "ApiException thrown when creating MetricDescriptor: " + exceptionMessage(e)));
197 } catch (ApiException e) {
198 logger.log(Level.WARNING, "ApiException thrown when exporting TimeSeries.", e);
203 "ApiException thrown when exporting TimeSeries: " + exceptionMessage(e)));

Completed in 331 milliseconds