1 /* 2 * To change this template, choose Tools | Templates 3 * and open the template in the editor. 4 */ 5 6 package cz.cuni.amis.pogamut.ut2004.server.exception; 7 8 import java.util.logging.Logger; 9 10 import cz.cuni.amis.utils.exception.PogamutException; 11 12 /** 13 * Exception raised when UCCWrapper fails to start the UT Server instance. 14 * @author Ik 15 */ 16 public class UCCStartException extends PogamutException { 17 18 /** 19 * Constructs a new exception with the specified detail message. 20 * <p><p> 21 * Not logging anything anywhere on its own. 22 * 23 * @param message 24 * @param origin which object does produced the exception 25 */ 26 public UCCStartException(String message, Object origin) { 27 super(message, origin); 28 } 29 30 /** 31 * Constructs a new exception with the specified detail message and cause. 32 * <p><p> 33 * Not logging anything anywhere on its own. 34 * 35 * @param message 36 * @param cause 37 * @param origin which object does produced the exception 38 */ 39 public UCCStartException(String message, Throwable cause, Object origin) { 40 super(message, cause, origin); 41 } 42 43 44 /** 45 * Constructs a new exception with the specified detail message. 46 * <p><p> 47 * Logs the exception via specified Logger. 48 * 49 * @param message 50 * @param log 51 * @param origin which object does produced the exception 52 */ 53 public UCCStartException(String message, Logger log, Object origin){ 54 super(message, log, origin); 55 } 56 57 /** 58 * Constructs a new exception with the specified detail message and cause. 59 * <p><p> 60 * Logs the exception via specified Logger. 61 * 62 * @param message 63 * @param cause 64 * @param origin which object does produced the exception 65 */ 66 public UCCStartException(String message, Throwable cause, Logger log, Object origin) { 67 super(message, cause, log, origin); 68 } 69 }