1 package cz.cuni.amis.pogamut.base.component.exception;
2
3 import java.util.logging.Logger;
4
5 import cz.cuni.amis.pogamut.base.component.bus.exception.FatalErrorPropagatingEventException;
6
7 public class ComponentCantResetException extends ComponentException {
8
9
10
11
12
13
14
15
16
17 public ComponentCantResetException(String message, Object origin) {
18 super(message, origin);
19 }
20
21
22
23
24
25
26
27
28
29
30 public ComponentCantResetException(String message, Throwable cause, Object origin) {
31 super(message, (cause == null ? null : (cause instanceof FatalErrorPropagatingEventException ? ((FatalErrorPropagatingEventException)cause).getCause() == null ? cause : ((FatalErrorPropagatingEventException)cause).getCause() : cause)), origin);
32 }
33
34
35
36
37
38
39
40
41
42
43
44 public ComponentCantResetException(String message, Logger log, Object origin){
45 super(message, log, origin);
46 }
47
48
49
50
51
52
53
54
55
56
57 public ComponentCantResetException(String message, Throwable cause, Logger log, Object origin) {
58 super(message, (cause == null ? null : (cause instanceof FatalErrorPropagatingEventException ? ((FatalErrorPropagatingEventException)cause).getCause() == null ? cause : ((FatalErrorPropagatingEventException)cause).getCause() : cause)), log, origin);
59 }
60
61 }