View Javadoc
1   package org.pojomatic;
2   
3   /**
4    * An exception thrown when asked to create a {@link Pojomator} for a class which has no properties
5    * annotated for use with Pojomatic.
6    */
7   public class NoPojomaticPropertiesException extends IllegalArgumentException {
8     private static final long serialVersionUID = 1L;
9   
10    public NoPojomaticPropertiesException(Class<?> pojoClass) {
11      super("Class " + pojoClass.getName() + " has no Pojomatic properties");
12    }
13  }