IllegalPropertyException.java :  » Scripting » InstantJ » instantj » reflect » Java Open Source

Java Open Source » Scripting » InstantJ 
InstantJ » instantj » reflect » IllegalPropertyException.java
/**
 * InstantJ
 * 
 * Copyright (C) 2002 Nils Meier
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 */
package instantj.reflect;

/**
 * Exception wrapping the attempt that a property was passed
 * which couldn't be used as intended. Example: you try to
 * invoke a setter with an argument that doesn't match the 
 * setters parameter-list
 *
 * @author <A href="mailto:nils@meiers.net">Nils Meier</A>
 */
public class IllegalPropertyException extends PropertyException {

  /**
   * Constructor
   */
  public IllegalPropertyException(String msg, Object target, String property) {
    super(msg, target, property);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.