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:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownPropertyError(String unknownPropertyName) Initiate.UnknownPropertyError(UnknownPropertyError unknownPropertyError, ServiceFactory<?> serviceFactory) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the name of the unknown property.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
-
UnknownPropertyError
Initiate.- Parameters:
unknownPropertyName- Name of the unknown property.
-
UnknownPropertyError
public UnknownPropertyError(UnknownPropertyError unknownPropertyError, ServiceFactory<?> serviceFactory) Instantiate.- Parameters:
unknownPropertyError- TriggeringUnknownPropertyError.serviceFactory-ServiceFactoryrequiring the property.
-
-
Method Details
-
getUnknownPropertyName
Obtains the name of the unknown property.- Returns:
- Name of the unknown property.
-