⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errorcodes.java

📁 OpenWeb-UDDI是UDDI V2标准的实现
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ErrorCodes.java

package org.huihoo.openweb.uddi;


public class ErrorCodes
{

    public static final int E_ASSERTION_NOT_FOUND = 30000;
    public static final int E_AUTH_TOKEN_EXPIRED = 10110;
    public static final int E_AUTH_TOKEN_REQUIRED = 10120;
    public static final int E_ACCOUNT_LIMIT_EXCEEDED = 10160;
    public static final int E_BUSY = 10400;
    public static final int E_CATEGORIZATION_NOT_ALLOWED = 20100;
    public static final int E_FATAL_ERROR = 10500;
    public static final int E_INVALID_KEY_PASSED = 10210;
    public static final int E_INVALID_PROJECTION = 20230;
    public static final int E_INVALID_CATEGORY = 20000;
    public static final int E_INVALID_COMPLETION_STATUS = 30100;
    public static final int E_INVALID_URL_PASSED = 10220;
    public static final int E_INVALID_VALUE = 20200;
    public static final int E_KEY_RETIRED = 10310;
    public static final int E_LANGUAGE_ERROR = 10060;
    public static final int E_MESSAGE_TOO_LARGE = 30100;
    public static final int E_NAME_TOO_LONG = 10020;
    public static final int E_OPERATOR_MISMATCH = 10130;
    public static final int E_PUBLISHER_CANCELLED = 30220;
    public static final int E_REQUEST_DENIED = 30210;
    public static final int E_SECRET_UNKNOWN = 30230;
    public static final int E_SUCCESS = 0;
    public static final int E_TOO_MANY_OPTIONS = 10030;
    public static final int E_TRANSFER_ABORTED = 30200;
    public static final int E_UNRECOGNIZED_VERSION = 10040;
    public static final int E_UNKNOWN_USER = 10150;
    public static final int E_UNSUPPORTED = 10050;
    public static final int E_USER_MISMATCH = 10140;
    public static final int E_VALUE_NOT_ALLOWED = 20210;
    public static final int E_TMODELKEY_ISHIDDEN = 40000;

    public ErrorCodes()
    {
    }

    public static String getErrCode(int errNo)
    {
        switch(errNo)
        {
        case 30000: 
            return "E_assertionNotFound";

        case 10110: 
            return "E_authTokenExpired";

        case 10120: 
            return "E_authTokenRequired";

        case 10160: 
            return "E_accountLimitExceeded";

        case 10400: 
            return "E_busy";

        case 20100: 
            return "E_categorizationNotAllowed";

        case 10500: 
            return "E_fatalError";

        case 10210: 
            return "E_invalidKeyPassed";

        case 20230: 
            return "E_invalidProjection";

        case 20000: 
            return "E_invalidCategory";

        case 10220: 
            return "E_invalidURLPassed";

        case 20200: 
            return "E_invalidValue";

        case 10310: 
            return "E_keyRetired";

        case 10060: 
            return "E_languageError";

        case 30100: 
            return "E_messageTooLarge";

        case 10020: 
            return "E_nameTooLong";

        case 10130: 
            return "E_operatorMismatch";

        case 30220: 
            return "E_publisherCancelled";

        case 30210: 
            return "E_requestDenied";

        case 30230: 
            return "E_secretUnknown";

        case 0: // '\0'
            return "E_success";

        case 10030: 
            return "E_tooManyOptions";

        case 30200: 
            return "E_transferAborted";

        case 10040: 
            return "E_unrecognizedVersion";

        case 10150: 
            return "E_unknownUser";

        case 10050: 
            return "E_unsupported";

        case 10140: 
            return "E_userMismatch";

        case 20210: 
            return "E_valueNotAllowed";

        case 40000: 
            return "E_Tmodelkeyishidden";
        }
        return null;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -