1 package cz.cuni.amis.utils.exception;
2
3 import java.util.logging.Logger;
4
5 public class PogamutCancellationException extends PogamutException {
6
7 /**
8 * Constructs a new exception with the specified detail message.
9 * <p><p>
10 * Not logging anything anywhere on its own.
11 *
12 * @param message
13 * @param origin which object does produced the exception
14 */
15 public PogamutCancellationException(String message, Object origin) {
16 super(message, origin);
17 }
18
19 /**
20 * Constructs a new exception with the specified detail message and cause.
21 * <p><p>
22 * Not logging anything anywhere on its own.
23 *
24 * @param message
25 * @param cause
26 * @param origin which object does produced the exception
27 */
28 public PogamutCancellationException(String message, Throwable cause, Object origin) {
29 super(message, cause, origin);
30 }
31
32
33 /**
34 * Constructs a new exception with the specified detail message.
35 * <p><p>
36 * Logs the exception via specified Logger.
37 *
38 * @param message
39 * @param log
40 * @param origin which object does produced the exception
41 */
42 public PogamutCancellationException(String message, Logger log, Object origin){
43 super(message, log, origin);
44 }
45
46 /**
47 * Constructs a new exception with the specified detail message and cause.
48 * <p><p>
49 * Logs the exception via specified Logger.
50 *
51 * @param message
52 * @param cause
53 * @param origin which object does produced the exception
54 */
55 public PogamutCancellationException(String message, Throwable cause, Logger log, Object origin) {
56 super(message, cause, log, origin);
57 }
58
59
60 }