Package net.officefloor.frame.api.source
Class UnknownPropertyError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- net.officefloor.frame.api.source.AbstractSourceError
-
- net.officefloor.frame.api.source.UnknownPropertyError
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownPropertyError extends AbstractSourceError
Indicates a property was not configured within the
SourceProperties
.This is a critical error as the source is requiring this property to initialise and subsequently start.
- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownPropertyError(java.lang.String unknownPropertyName)
Initiate.UnknownPropertyError(UnknownPropertyError unknownPropertyError, ServiceFactory<?> serviceFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUnknownPropertyName()
Obtains the name of the unknown property.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
UnknownPropertyError
public UnknownPropertyError(java.lang.String unknownPropertyName)
Initiate.- Parameters:
unknownPropertyName
- Name of the unknown property.
-
UnknownPropertyError
public UnknownPropertyError(UnknownPropertyError unknownPropertyError, ServiceFactory<?> serviceFactory)
Instantiate.- Parameters:
unknownPropertyError
- TriggeringUnknownPropertyError
.serviceFactory
-ServiceFactory
requiring the property.
-
-