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