Package com.atlauncher.data

Examples of com.atlauncher.data.APIResponse.wasError()


            request.put("issue", new GithubIssue(title, body));

            try {
                APIResponse response = Settings.gson.fromJson(Utils.sendAPICall("githubissue/", request),
                        APIResponse.class);
                if (!response.wasError() && response.getDataAsInt() != 0) {
                    LogManager.info("Exception reported to GitHub. Track/comment on the issue at " + response
                            .getDataAsString());
                }
            } catch (IOException e) {
                e.printStackTrace();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.