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:
java.io.Serializable
public class UnknownResourceError extends AbstractSourceError
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownResourceError(java.lang.String unknownResourceLocation)
Initiate.UnknownResourceError(UnknownResourceError error, ServiceFactory<?> serviceFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUnknownResourceLocation()
Obtains the location of the unknown resource.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
UnknownResourceError
public UnknownResourceError(java.lang.String unknownResourceLocation)
Initiate.- Parameters:
unknownResourceLocation
- Location of the unknown resource.
-
UnknownResourceError
public UnknownResourceError(UnknownResourceError error, ServiceFactory<?> serviceFactory)
Instantiate.- Parameters:
error
- TriggeringUnknownResourceError
fromServiceFactory
.serviceFactory
-ServiceFactory
.
-
-