1 package cz.cuni.amis.pogamut.base.component.bus.exception;
2
3 import java.util.logging.Logger;
4
5 import cz.cuni.amis.pogamut.base.component.bus.IComponentBus;
6 import cz.cuni.amis.utils.token.IToken;
7
8 public class ComponentIdClashException extends ComponentBusException {
9
10 public ComponentIdClashException(IToken tokenClash, Logger log, IComponentBus origin) {
11 super("Two components tried to register under one id: " + tokenClash.getToken(), log, origin);
12 }
13
14 }