1 /*
2 * $Id: IncompatibleValueException.java,v 1.18 2011/06/16 09:29:41 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.internal.util;
6
7 import javax.faces.FacesException;
8
9 /**
10 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
11 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
12 */
13 public class IncompatibleValueException extends FacesException {
14 private static final String REVISION = "$Revision: 1.18 $";
15
16 private static final long serialVersionUID = -2959146007402643205L;
17
18 public IncompatibleValueException(Object value, String types) {
19 super("Value '" + value.getClass() + "' is not compatible with: "
20 + types, null);
21 }
22
23 }