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