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:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationError(String missingLocation) Instantiate.ConfigurationError(String configurationLocation, String nonconfiguredTagName) Initiate.ConfigurationError(String configurationLocation, Throwable cause) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the location of theConfigurationItem.Obtains the non-configured tag name.Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactoryMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationError
Instantiate.- Parameters:
missingLocation- Location of missingConfigurationItem.
-
ConfigurationError
Initiate.- Parameters:
configurationLocation- Location of theConfigurationItem.cause-Throwablecause.
-
ConfigurationError
Initiate.- Parameters:
configurationLocation- Location of theConfigurationItem.nonconfiguredTagName- Name of tag in configuration that is not configured.
-
-
Method Details
-
getConfigurationLocation
Obtains the location of theConfigurationItem.- Returns:
- Location of the
ConfigurationItem.
-
getNonconfiguredTagName
Obtains the non-configured tag name.- Returns:
- Non-configured tag name.
-