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 MissingConstructorException extends PogamutException {
9   
10  	public MissingConstructorException(Method method, Class idClass, Object origin) {
11  		super("Method " + ClassUtils.getMethodSignature(method) + " referes to object id class of " + idClass + ", but this class does not declare constructor with a String parameter.", origin);
12  	}
13  
14  }