Package net.officefloor.configuration
Class ConfigurationError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- net.officefloor.frame.api.source.AbstractSourceError
-
- net.officefloor.configuration.ConfigurationError
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigurationError extends AbstractSourceError
Indicates a failure in obtaining configuration.
This is a critical error as the source is requiring the
ConfigurationItem
to initialise and subsequently start.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationError(java.lang.String missingLocation)
Instantiate.ConfigurationError(java.lang.String configurationLocation, java.lang.String nonconfiguredTagName)
Initiate.ConfigurationError(java.lang.String configurationLocation, java.lang.Throwable cause)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfigurationLocation()
Obtains the location of theConfigurationItem
.java.lang.String
getNonconfiguredTagName()
Obtains the non-configured tag name.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
ConfigurationError
public ConfigurationError(java.lang.String missingLocation)
Instantiate.- Parameters:
missingLocation
- Location of missingConfigurationItem
.
-
ConfigurationError
public ConfigurationError(java.lang.String configurationLocation, java.lang.Throwable cause)
Initiate.- Parameters:
configurationLocation
- Location of theConfigurationItem
.cause
-Throwable
cause.
-
ConfigurationError
public ConfigurationError(java.lang.String configurationLocation, java.lang.String nonconfiguredTagName)
Initiate.- Parameters:
configurationLocation
- Location of theConfigurationItem
.nonconfiguredTagName
- Name of tag in configuration that is not configured.
-
-
Method Detail
-
getConfigurationLocation
public java.lang.String getConfigurationLocation()
Obtains the location of theConfigurationItem
.- Returns:
- Location of the
ConfigurationItem
.
-
getNonconfiguredTagName
public java.lang.String getNonconfiguredTagName()
Obtains the non-configured tag name.- Returns:
- Non-configured tag name.
-
-