public enum MrsErrorCode extends Enum<MrsErrorCode>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static MrsErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MrsErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MrsErrorCode AUTHFAILURE
public static final MrsErrorCode FAILEDOPERATION_PUSHUSAGEMESSAGEERROR
public static final MrsErrorCode FAILEDOPERATION_SERVICENOTOPEN
public static final MrsErrorCode FAILEDOPERATION_UNKNOWNERROR
public static final MrsErrorCode INTERNALERROR
public static final MrsErrorCode INTERNALERROR_IMAGEOCRERROR
public static final MrsErrorCode INTERNALERROR_IMAGEPROCESSERROR
public static final MrsErrorCode INTERNALERROR_SERVERTIMEOUTERROR
public static final MrsErrorCode INTERNALERROR_STRUCTIONERROR
public static final MrsErrorCode INTERNALERROR_TEXTCLASSIFYERROR
public static final MrsErrorCode INVALIDPARAMETER
public static final MrsErrorCode INVALIDPARAMETER_AUTOFITDIRECTION
public static final MrsErrorCode INVALIDPARAMETER_IMAGEINFOLIST
public static final MrsErrorCode INVALIDPARAMETER_IMAGEORIGINALSIZE
public static final MrsErrorCode INVALIDPARAMETER_INVALIDACTION
public static final MrsErrorCode INVALIDPARAMETER_OCRENGINETYPE
public static final MrsErrorCode INVALIDPARAMETER_ROTATETHEANGLE
public static final MrsErrorCode INVALIDPARAMETER_TEXT
public static final MrsErrorCode INVALIDPARAMETERVALUE_IMAGECODEINVALID
public static final MrsErrorCode INVALIDPARAMETERVALUE_IMAGEISNOTEXT
public static final MrsErrorCode INVALIDPARAMETERVALUE_IMAGEURLINVALID
public static final MrsErrorCode OPERATIONDENIED_UNSUPPORTTHISTYPE
public static final MrsErrorCode UNAUTHORIZEDOPERATION_PERMISSIONDENIEDERROR
public static final MrsErrorCode UNSUPPORTEDOPERATION_UNSUPPORTTHISTYPE
public static MrsErrorCode[] values()
for (MrsErrorCode c : MrsErrorCode.values()) System.out.println(c);
public static MrsErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2022. All rights reserved.