View Javadoc

1   package cz.cuni.amis.pogamut.base.communication.worldview.listener.annotation.exception;
2   
3   import java.lang.reflect.Method;
4   
5   import cz.cuni.amis.utils.ClassUtils;
6   import cz.cuni.amis.utils.exception.PogamutException;
7   
8   public class MoreThanOneListenerLevelAnnotationException extends PogamutException {
9   
10  	public MoreThanOneListenerLevelAnnotationException(Method method, Object origin) {
11  		super("Method can have only one ListenerLevel annotation: " + ClassUtils.getMethodSignature(method), origin);
12  	}
13  
14  	
15  }