Package net.officefloor.frame.api.source
Class UnknownClassError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- net.officefloor.frame.api.source.AbstractSourceError
-
- net.officefloor.frame.api.source.UnknownClassError
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownClassError extends AbstractSourceError
Indicates a
Class
was not available from theSourceContext
.This is a critical error as the source is requiring the
Class
to initialise and subsequently start.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownClassError(java.lang.String unknownClassName)
Initiate.UnknownClassError(UnknownClassError unknownClassError, ServiceFactory<?> serviceFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUnknownClassName()
Obtains the name of the unknownClass
.-
Methods inherited from class net.officefloor.frame.api.source.AbstractSourceError
addIssue, getServiceFactory
-
-
-
-
Constructor Detail
-
UnknownClassError
public UnknownClassError(java.lang.String unknownClassName)
Initiate.- Parameters:
unknownClassName
- Name of the unknownClass
.
-
UnknownClassError
public UnknownClassError(UnknownClassError unknownClassError, ServiceFactory<?> serviceFactory)
Instantiate.- Parameters:
unknownClassError
- TriggeringUnknownClassError
.serviceFactory
-ServiceFactory
requiring the property.
-
-