|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConfigurationCode> de.smartics.properties.api.config.domain.ConfigurationCode
public enum ConfigurationCode
Codes dealing with property problems.
Enum Constant Summary | |
---|---|
COMPOUND_CONFIGURATION The property is not known to the system. |
|
CONFIGURATION_ACCESS_FAILED Signals that configuration with the given key cannot be accessed. |
|
CONFIGURATION_LOADING Signals that configuration with the given key cannot be loaded. |
|
CONFIGURATION_RESOLVING_FAILED Signals that configuration with the given key cannot be accessed. |
|
DUPLICATE_CONFIGURATION Signals that a configuration with the given key has already been registered. |
|
DUPLICATE_PROPERTY Signals that a property has been encountered twice. |
|
DUPLICATE_PROPERTY_DEFINITION Signals that a property descriptor has been encountered twice. |
|
FACTORY_IMPLEMENTATION_NOT_FOUND The implementation for a factory type cannot be found. |
|
FACTORY_INSTANTIATION_FAILED The factory implementation cannot be instantiated. |
|
INVALID_CONFIGURATION Signals that the configuration is invalid or at least properties cannot be validated because there are no properties descriptors registered for them. |
|
INVALID_CONFIGURATION_DUE_TO_CONVERSION_WITH_SOURCE Signals that the value does not match the given constraints and provides information about the source location of the culprit. |
|
INVALID_CONFIGURATION_DUE_TO_RESOLVE_WITH_SOURCE Signals that the value cannot be resolve and provides information about the source location of the culprit. |
|
INVALID_CONFIGURATION_WITH_SOURCE Signals that the value does not match the given constraints and provides information about the source location of the culprit. |
|
MISSING_CONFIGURATION Signals that a configuration with the given key cannot be found. |
|
UNKNOWN_PROPERTY Signals multiple problems with a configuration. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static ConfigurationCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static ConfigurationCode[] |
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=TypeProblemMessageBean.class) public static final ConfigurationCode FACTORY_IMPLEMENTATION_NOT_FOUND
@MessageParamsDescriptor(value=TypeProblemMessageBean.class) public static final ConfigurationCode FACTORY_INSTANTIATION_FAILED
@MessageParamsDescriptor(value=CompoundConfigurationException.class) public static final ConfigurationCode COMPOUND_CONFIGURATION
@MessageParamsDescriptor(value=ConfigurationLoadingException.class) public static final ConfigurationCode CONFIGURATION_LOADING
@MessageParamsDescriptor(value=ConfigurationLoadingException.class) public static final ConfigurationCode CONFIGURATION_ACCESS_FAILED
@MessageParamsDescriptor(value=ResolveConfigurationException.class) public static final ConfigurationCode CONFIGURATION_RESOLVING_FAILED
@MessageParamsDescriptor(value=DuplicateConfigurationException.class) public static final ConfigurationCode DUPLICATE_CONFIGURATION
@MessageParamsDescriptor(value=ConfigurationValidationException.class) public static final ConfigurationCode INVALID_CONFIGURATION
@MessageParamsDescriptor(value=DuplicatePropertyDefinitionException.class) public static final ConfigurationCode DUPLICATE_PROPERTY_DEFINITION
@MessageParamsDescriptor(value=DuplicatePropertyException.class) public static final ConfigurationCode DUPLICATE_PROPERTY
@MessageParamsDescriptor(value=MissingConfigurationException.class) public static final ConfigurationCode MISSING_CONFIGURATION
@MessageParamsDescriptor(value=PropertyValidationWithSourceMessageBean.class) public static final ConfigurationCode INVALID_CONFIGURATION_WITH_SOURCE
@MessageParamsDescriptor(value=PropertyValueWithSourceMessageBean.class) public static final ConfigurationCode INVALID_CONFIGURATION_DUE_TO_CONVERSION_WITH_SOURCE
@MessageParamsDescriptor(value=PropertyExpressionWithSourceMessageBean.class) public static final ConfigurationCode INVALID_CONFIGURATION_DUE_TO_RESOLVE_WITH_SOURCE
@MessageParamsDescriptor(value=UnknownPropertyException.class) public static final ConfigurationCode UNKNOWN_PROPERTY
Method Detail |
---|
public static ConfigurationCode[] values()
for (ConfigurationCode c : ConfigurationCode.values()) System.out.println(c);
public static ConfigurationCode 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<ConfigurationCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |