Package io.codef.api
Enum EasyCodefMessageConstant
java.lang.Object
java.lang.Enum<EasyCodefMessageConstant>
io.codef.api.EasyCodefMessageConstant
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EasyCodefMessageConstant>,java.lang.constant.Constable
public enum EasyCodefMessageConstant extends java.lang.Enum<EasyCodefMessageConstant>
io.codef.easycodef |_ EasyCodefMessageConstant.javaDesc : EasyCodef에서 사용되는 메시지 코드 클래스
- Company:
- : ©CODEF corp.
- Author:
- : notfound404@codef.io
- Date:
- : Jun 26, 2020 3:36:41 PM
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUESTEMPTY_CLIENT_INFOEMPTY_PUBLIC_KEYFORBIDDENINVALID_2WAY_INFOINVALID_2WAY_KEYWORDINVALID_JSONINVALID_PARAMETERLIBRARY_SENDER_ERRORMETHOD_NOT_ALLOWEDNOT_FOUNDOKSERVER_ERRORUNAUTHORIZEDUNSUPPORTED_ENCODING -
Method Summary
Modifier and Type Method Description protected java.lang.StringgetCode()protected java.lang.StringgetExtraMessage()protected java.lang.StringgetMessage()protected voidsetExtraMessage(java.lang.String extraMessage)static EasyCodefMessageConstantvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EasyCodefMessageConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
protected java.lang.String getCode() -
getMessage
protected java.lang.String getMessage() -
setExtraMessage
protected void setExtraMessage(java.lang.String extraMessage) -
getExtraMessage
protected java.lang.String getExtraMessage()
-