From 2d2fa49fc094d8e5c04b06a54b1c09db430ca3b0 Mon Sep 17 00:00:00 2001 From: Vince Mi <vinc3m1@gmail.com> Date: Wed, 14 May 2014 10:30:21 -0700 Subject: [PATCH] Remove synchronous from ErrorHandler docs --- website/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/index.html b/website/index.html index 8ef3373680..37219245b9 100644 --- a/website/index.html +++ b/website/index.html @@ -196,8 +196,8 @@ <h4>Content format Agnostic</h4> SoundCloudService service = restAdapter.create(SoundCloudService.class);</pre> <h4>Custom Converters</h4> <p>If you need to communicate with an API that uses a content-format that Retrofit does not support out of the box (e.g. YAML, txt, custom format) or you wish to use a different library to implement an existing format, you can easily create your own converter. Create a class that implements the <a href="https://github.com/square/retrofit/blob/master/retrofit/src/main/java/retrofit/converter/Converter.java"><code>Converter</code> interface</a> and pass in an instance when building your adapter.</p> - <h4>Custom Synchronous Error Handling</h4> - <p>If you need custom error handling for synchronous requests, you may provide your own <code>ErrorHandler</code>. The following code shows how to throw a custom exception when a response returns a HTTP 401 status code</p> + <h4>Custom Error Handling</h4> + <p>If you need custom error handling for requests, you may provide your own <code>ErrorHandler</code>. The following code shows how to throw a custom exception when a response returns a HTTP 401 status code</p> <pre class="prettyprint"> class MyErrorHandler implements ErrorHandler { @Override public Throwable handleError(RetrofitError cause) {