The exception occurs on the App Engine server, and not on the Android client. Then you must find a way to send a message to the client in order to inform him that an exception has occurred.
In cloud endpoints and other REST APIs, this is done using an HTTP result code and an HTTP result message.
Cloud Endpoints HTTP. com.google.api.server.spi.response.UnauthorizedException. HTTP 401, HTTP "".
Cloud Endpoints Android, , , HTTP.