View Javadoc

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