public interface ClientExceptionMapper
Response
objects to specific types of Exception
s.
Typically an implementation would use the response code and payload to
determine the type of error and create a new instance of an exception
based on that information.Modifier and Type | Method and Description |
---|---|
Throwable |
fromResponse(com.google.gwt.http.client.Response response)
Converts the REST HTTP
Response to an Exception . |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.