Package net.officefloor.frame.api.source
Class UnknownServiceError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- net.officefloor.frame.api.source.AbstractSourceError
-
- net.officefloor.frame.api.source.UnknownServiceError
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownServiceError extends AbstractSourceError
Indicates a service was not available from the
SourceContext
.This is a critical error as the source is requiring the service to initialise and subsequently start.
- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownServiceError(java.lang.Class<?> unknownServiceFactoryType)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getUnknownServiceFactoryType()
Obtains theServiceFactory
type that is not configured.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
UnknownServiceError
public UnknownServiceError(java.lang.Class<?> unknownServiceFactoryType)
Initiate.- Parameters:
unknownServiceFactoryType
-ServiceFactory
type that is not configured.
-
-
Method Detail
-
getUnknownServiceFactoryType
public java.lang.Class<?> getUnknownServiceFactoryType()
Obtains theServiceFactory
type that is not configured.- Returns:
ServiceFactory
type that is not configured.
-
-