Class UnknownClassError

All Implemented Interfaces:
Serializable

public class UnknownClassError extends AbstractSourceError

Indicates a Class was not available from the SourceContext.

This is a critical error as the source is requiring the Class to initialise and subsequently start.

Author:
Daniel Sagenschneider
See Also:
  • Constructor Details

    • UnknownClassError

      public UnknownClassError(String unknownClassName)
      Initiate.
      Parameters:
      unknownClassName - Name of the unknown Class.
    • UnknownClassError

      public UnknownClassError(UnknownClassError unknownClassError, ServiceFactory<?> serviceFactory)
      Instantiate.
      Parameters:
      unknownClassError - Triggering UnknownClassError.
      serviceFactory - ServiceFactory requiring the property.
  • Method Details

    • getUnknownClassName

      public String getUnknownClassName()
      Obtains the name of the unknown Class.
      Returns:
      Name of the unknown Class.