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