public class GraphApiErrorHandler extends Object implements org.springframework.web.client.ResponseErrorHandler
 This error-handler handels responses withe the HTTP-status code
 400 BAD REQUEST. It tries to extract and parse the error-message
 from the HTTP-body. Successfully extracted and parsed messages are mapped
 to a hierarchy of exceptions, that reflects the hierarchy of the error-
 codes and -types.
 
 If the HTTP-status-code of the response is not 400 BAD REQUEST or
 the HTTP-body could not be extracted or parsed, this error-handler
 delegates the handling to its parent.
| Constructor and Description | 
|---|
GraphApiErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
handleError(org.springframework.http.client.ClientHttpResponse response)  | 
boolean | 
hasError(org.springframework.http.client.ClientHttpResponse response)  | 
public GraphApiErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler)
public boolean hasError(org.springframework.http.client.ClientHttpResponse response)
                 throws IOException
hasError in interface org.springframework.web.client.ResponseErrorHandlerIOExceptionpublic void handleError(org.springframework.http.client.ClientHttpResponse response)
                 throws IOException
handleError in interface org.springframework.web.client.ResponseErrorHandlerIOExceptionCopyright © 2015. All rights reserved.