Back to project page uber-android.
The source code is released under:
MIT License
If you think the Android project uber-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * UberAPILib/*from w w w .j a va2 s.c om*/ * * This file was automatically generated by APIMATIC BETA v2.0 on 08/22/2014 */ package io.apimatic.uberapilib; public class APIException extends Exception { //UID for serialization private static final long serialVersionUID = 6424174253911720338L; //private fields private int responseCode; /** * The HTTP response code from the API request */ public int getResponseCode() { return responseCode; } /** * Initialization constructor * @param reason The reason for throwing exception * @param code The HTTP response code from the API request */ public APIException(String reason, int code) { super(reason); this.responseCode = code; } }