Back to project page MobileSampleSDKs.
The source code is released under:
GNU General Public License
If you think the Android project MobileSampleSDKs listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * CustomersLib/*from w w w .j a va2 s . c o m*/ * * This file was automatically generated by APIMATIC BETA v2.0 on 09/17/2014 */ package io.apimatic.customerslib; 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; } }