1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.codelibs.fess.exception;
17
18 public class ContainerNotAvailableException extends FessSystemException {
19
20 private static final long serialVersionUID = 1L;
21
22 private String componentName;
23
24 public ContainerNotAvailableException(final String componentName) {
25 super(componentName + " is not available.");
26 }
27
28 public ContainerNotAvailableException(final String componentName, final Throwable cause) {
29 super(componentName + " is not available.", cause);
30 this.componentName = componentName;
31 }
32
33 public ContainerNotAvailableException(final Throwable cause) {
34 super("Container is not avaiable.");
35 this.componentName = "container";
36 }
37
38 public String getComponentName() {
39 return componentName;
40 }
41
42 }