Package net.officefloor.frame.api.source
Class LoadServiceError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- net.officefloor.frame.api.source.AbstractSourceError
-
- net.officefloor.frame.api.source.LoadServiceError
-
- All Implemented Interfaces:
java.io.Serializable
public class LoadServiceError extends AbstractSourceError
Indicates a service was not able to be loaded.This is a critical error as services should always be able to be loaded.
- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoadServiceError(java.lang.String serviceFactoryClassName, java.lang.Throwable failure)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getServiceFactoryClassName()
Obtains theServiceFactory
Class
name.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
LoadServiceError
public LoadServiceError(java.lang.String serviceFactoryClassName, java.lang.Throwable failure)
Initiate.- Parameters:
serviceFactoryClassName
-ServiceFactory
Class
name that failed to load.failure
- Cause.
-
-
Method Detail
-
getServiceFactoryClassName
public java.lang.String getServiceFactoryClassName()
Obtains theServiceFactory
Class
name.- Returns:
ServiceFactory
Class
name.
-
-