Original commit message

ChangeScribe message

introduced the ClientMessage class so client errors can include title, message, and button text.


BUG - FEATURE: <type-ID>


This is a large modifier commit: this is a commit with many methods and combines multiple roles. This change set is mainly composed of:


1. Changes to package retrofit.core:


1.1. Modifications to Callback.java:


1.1.1. Add a functionality to client error

1.1.2. Remove an unused functionality to client error


1.2. Add a data class for client message. It allows to:


Instantiate client message;

Get title;

Get message;

Get button label


2. Changes to package retrofit.http:


2.1. Modifications to CallbackResponseHandler.java:


2.1.1. Modify arguments list when calling clientError method at handleResponse(HttpResponse) method

2.1.2. Add a private functionality to parse client message


2.2. Modifications to UiCallback.java:


2.2.1. Add a functionality to client error

2.2.2. Remove an unused functionality to client error