Package net.officefloor.frame.api.source
Class UnknownResourceError
java.lang.Object
java.lang.Throwable
java.lang.Error
net.officefloor.frame.api.source.AbstractSourceError
net.officefloor.frame.api.source.UnknownResourceError
- All Implemented Interfaces:
Serializable
Indicates a resource was not available from the SourceContext.
This is a critical error as the source is requiring the resource to initialise and subsequently start.
- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownResourceError(String unknownResourceLocation) Initiate.UnknownResourceError(UnknownResourceError error, ServiceFactory<?> serviceFactory) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the location of the unknown resource.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
-
UnknownResourceError
Initiate.- Parameters:
unknownResourceLocation- Location of the unknown resource.
-
UnknownResourceError
Instantiate.- Parameters:
error- TriggeringUnknownResourceErrorfromServiceFactory.serviceFactory-ServiceFactory.
-
-
Method Details
-
getUnknownResourceLocation
Obtains the location of the unknown resource.- Returns:
- Location of the unknown resource.
-