Exception Codes

Report on exception codes used in this project.

1000

Codes dealing with property problems.

de.smartics.properties.api.core.domain.PropertyCode

Code Property Name Description
Property-1000 RESOLVE_PROBLEM Placeholders in property value cannot be resolved.
Property-1001 CONVERSION_PROBLEM The property is not valid.
Property-1002 INVALID_VALUE The property is not valid.
Property-1010 READ_ONLY A read-only property was requested to be updated.
Property-1011 SECURITY Securing a property value failed.
Property-1020 DUPLICATE_DECLARATION Duplicate property declaration.
Property-1021 DUPLICATE_DECLARATIONS Signals more than one duplicate property declarations.

2000

Codes dealing with property problems.

de.smartics.properties.api.core.domain.ConfigCode

Code Property Name Description
Config-2000 CONFIG_FILE_NOT_FOUND Signals that a configuration file cannot be found.
Config-2001 CONFIG_FILE_CANNOT_BE_READ Signals that a configuration file cannot be read.
Config-2002 WRONG_NAMESPACE Signals that the parser cannot parse the given definitions file since the namespace is not as expected.
Config-2010 DUPLICATE_DEFAULT_KEY Signals that a configuration key within a definitions configuration file is declared as default key twice.
Config-2100 FACTORY_CANNOT_INSTANTIATE_TYPE A service factory cannot instantiate the service type.
Config-2101 SERVICE_FACTORY_PROBLEMS A service factory encountered problems while instantiating the service.

3000

Codes dealing with property problems.

de.smartics.properties.api.core.security.SecurityCode

Code Property Name Description
Security-3000 LOADING_SECURITY_PROPERTIES_FAILED The security.properties file cannot be loaded.
Security-3001 INIT_KEY_GENERATION_FAILED Key generation failed.
Security-3002 INIT_CIPHER_GENERATION_FAILED Cipher generation failed.
Security-3010 KEY_GENERATION_FAILED Key generation failed in the context of a given property.
Security-3011 CIPHER_GENERATION_FAILED Cipher generation failed in the context of a given property.
Security-3012 DECRYPTION_FAILED Decryption of a property value failed.
Security-3013 ENCRYPTION_FAILED Encryption of a property value failed.