|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SecurityCode> de.smartics.properties.api.core.security.SecurityCode
public enum SecurityCode
Codes dealing with property problems.
Enum Constant Summary | |
---|---|
CIPHER_GENERATION_FAILED Cipher generation failed in the context of a given property. |
|
DECRYPTION_FAILED Decryption of a property value failed. |
|
ENCRYPTION_FAILED Encryption of a property value failed. |
|
INIT_CIPHER_GENERATION_FAILED Cipher generation failed. |
|
INIT_KEY_GENERATION_FAILED Key generation failed. |
|
KEY_GENERATION_FAILED Key generation failed in the context of a given property. |
|
LOADING_SECURITY_PROPERTIES_FAILED The security.properties file cannot be loaded. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static SecurityCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static SecurityCode[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@MessageParamsDescriptor(value=SecurityMessageBean.class) public static final SecurityCode LOADING_SECURITY_PROPERTIES_FAILED
security.properties
file cannot be loaded.
@MessageParamsDescriptor(value=SecurityMessageBean.class) public static final SecurityCode INIT_KEY_GENERATION_FAILED
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final SecurityCode INIT_CIPHER_GENERATION_FAILED
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final SecurityCode KEY_GENERATION_FAILED
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final SecurityCode CIPHER_GENERATION_FAILED
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final SecurityCode DECRYPTION_FAILED
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final SecurityCode ENCRYPTION_FAILED
Method Detail |
---|
public static SecurityCode[] values()
for (SecurityCode c : SecurityCode.values()) System.out.println(c);
public static SecurityCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getCode()
getCode
in interface
de.smartics.exceptions.core.Code
public String getComponentId()
getComponentId
in interface
de.smartics.exceptions.core.Code
public String getDisplayId()
getDisplayId
in interface
de.smartics.exceptions.core.Code
public Integer getMajorNumber()
getMajorNumber
in interface
de.smartics.exceptions.code.NumberCode
public Integer getMinorNumber()
getMinorNumber
in interface
de.smartics.exceptions.code.NumberCode
public String toString()
toString
in interface
de.smartics.exceptions.core.Code
toString
in class
Enum<SecurityCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |