Class ContainerNotAvailableException

All Implemented Interfaces:
Serializable

public class ContainerNotAvailableException extends FessSystemException
Exception thrown when a dependency injection container or component is not available. This exception indicates that the required container or a specific component within it cannot be accessed.
See Also:
  • Constructor Details

    • ContainerNotAvailableException

      public ContainerNotAvailableException(String componentName)
      Constructor with component name.
      Parameters:
      componentName - The name of the component that is not available.
    • ContainerNotAvailableException

      public ContainerNotAvailableException(String componentName, Throwable cause)
      Constructor with component name and cause.
      Parameters:
      componentName - The name of the component that is not available.
      cause - The cause of the exception.
    • ContainerNotAvailableException

      public ContainerNotAvailableException(Throwable cause)
      Constructor with cause only.
      Parameters:
      cause - The cause of the exception.
  • Method Details

    • getComponentName

      public String getComponentName()
      Gets the name of the component that is not available.
      Returns:
      The component name.