/* * Copyright 2001-2008 Geert Bevin <gbevin[remove] at uwyn dot com> * Licensed under the Apache License, Version 2.0 (the "License") * $Id: WrongConstrainedPropertyVariantException.java 3918 2008-04-14 17:35:35Z gbevin $ */ package com.uwyn.rife.cmf.dam.exceptions; public class WrongConstrainedPropertyVariantException extends ContentManagerException { private static final long serialVersionUID = 7752599853025679192L; private Class mBeanClass = null; private String mProperty = null; public WrongConstrainedPropertyVariantException(Class beanClass, String property) { super("The constrained property '"+property+"' of bean '"+beanClass.getName()+"' is not an instance of CmfProperty."); mBeanClass = beanClass; mProperty = property; } public Class getBeanClass() { return mBeanClass; } public String getProperty() { return mProperty; } }