|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConfigCode> de.smartics.properties.api.core.domain.ConfigCode
public enum ConfigCode
Codes dealing with property problems.
Enum Constant Summary | |
---|---|
CONFIG_FILE_CANNOT_BE_READ Signals that a configuration file cannot be read. |
|
CONFIG_FILE_NOT_FOUND Signals that a configuration file cannot be found. |
|
DUPLICATE_DEFAULT_KEY Signals that a configuration key within a definitions configuration file is declared as default key twice. |
|
WRONG_NAMESPACE Signals that the parser cannot parse the given definitions file since the namespace is not as expected. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static ConfigCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static ConfigCode[] |
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=ConfigMessageBean.class) public static final ConfigCode CONFIG_FILE_NOT_FOUND
@MessageParamsDescriptor(value=ConfigMessageBean.class) public static final ConfigCode CONFIG_FILE_CANNOT_BE_READ
@MessageParamsDescriptor(value=ConfigMessageBean.class) public static final ConfigCode WRONG_NAMESPACE
@MessageParamsDescriptor(value=ConfigMessageBean.class) public static final ConfigCode DUPLICATE_DEFAULT_KEY
Method Detail |
---|
public static ConfigCode[] values()
for (ConfigCode c : ConfigCode.values()) System.out.println(c);
public static ConfigCode 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<ConfigCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |