if ( example == null ) throw new ApiUsageException( "Example argument to findByExample cannot be null.");
    public IObject findByExample(@NotNull final IObject example) throws ApiUsageException    {        if ( example == null )            throw new ApiUsageException(                    "Example argument to findByExample cannot be null.");                return (IObject) getHibernateTemplate().execute(new HibernateCallback() {            public Object doInHibernate(Session session)                    throws HibernateException {                Criteria c = session.createCriteria(example.getClass());                c.add(Example.create(example));                return c.uniqueResult();                            }        });    }