Package org.codelibs.fess.exception
Class ContainerNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.FessSystemException
org.codelibs.fess.exception.ContainerNotAvailableException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionContainerNotAvailableException(String componentName) Constructor with component name.ContainerNotAvailableException(String componentName, Throwable cause) Constructor with component name and cause.Constructor with cause only. -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the component that is not available.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContainerNotAvailableException
Constructor with component name.- Parameters:
componentName- The name of the component that is not available.
-
ContainerNotAvailableException
Constructor with component name and cause.- Parameters:
componentName- The name of the component that is not available.cause- The cause of the exception.
-
ContainerNotAvailableException
Constructor with cause only.- Parameters:
cause- The cause of the exception.
-
-
Method Details
-
getComponentName
Gets the name of the component that is not available.- Returns:
- The component name.
-