Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.text.TextUtils;

public class Main {
    public static void handlerMessageError(String paramString) {
        if (TextUtils.equals(paramString, "ER_PARAM_DEVICE_TOKEN"))
            ;
        while ((TextUtils.equals(paramString, "ER_PARAM_INVALID"))
                || (TextUtils.equals(paramString, "ER_PARAM_APP_PACKAGE"))
                || (TextUtils.equals(paramString, "ER_PARAM_AGOO_SDK_VERSION"))
                || (TextUtils.equals(paramString, "ER_BIZ_NO_MULTIPLEX")) || (TextUtils.equals(paramString, "FAIL"))
                || (TextUtils.equals(paramString, "FAIL_SYS_SERVLET_ASYNC_TIMEOUT"))
                || (TextUtils.equals(paramString, "FAIL_SYS_SERVLET_ASYNC_ERROR"))
                || (TextUtils.equals(paramString, "FAIL_SYS_PARAM_FORMAT_ERROR"))
                || (TextUtils.equals(paramString, "FAIL_SYS_PARAM_MISSING"))
                || (TextUtils.equals(paramString, "API_STOP_SERVICE"))
                || (TextUtils.equals(paramString, "ERRCODE_AUTH_REJECT"))
                || (TextUtils.equals(paramString, "ERRCODE_APP_ACCESS_API_FAIL"))
                || (TextUtils.equals(paramString, "ERR_SID_INVALID"))
                || (TextUtils.equals(paramString, "FAIL_SYS_HSF_ASYNC_POOL_FOOL"))
                || (TextUtils.equals(paramString, "FAIL_SYS_HSF_ASYNC_TIMEOUT"))
                || (TextUtils.equals(paramString, "FAIL_SYS_HSF_THROWN_EXCEPTION_CODE"))
                || (TextUtils.equals(paramString, "FAIL_SYS_HSF_INVOKE_ERROR"))
                || (TextUtils.equals(paramString, "FAIL_SYS_HSF_NOTFOUND"))
                || (!TextUtils.equals(paramString, "FAIL_SYS_HSF_TIMEOUT")))
            return;
    }
}