1 package cz.cuni.amis.pogamut.base.component.exception; 2 3 import cz.cuni.amis.pogamut.base.component.IComponent; 4 5 public class ComponentKilledException extends ComponentException { 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 message 13 * @param origin which object does produced the exception 14 */ 15 public ComponentKilledException(IComponent component, Object origin) { 16 super("Component " + component.getComponentId().getToken() + " has been killed.", origin); 17 } 18 19 }