All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.klojang.invoke.NoPublicSettersException Maven / Gradle / Ivy

Go to download

Klojang Invoke is a Java module focused on path-based object access and dynamic invocation. Its central classes are the Path class and the PathWalker class. The Path class captures a path through an object graph. For example "employee.address.city". The PathWalker class lets you read from and write to a wide variety of types using Path objects.

The newest version!
package org.klojang.invoke;

import org.klojang.util.InvokeException;

/**
 * Thrown if a {@link BeanWriter} is created for a class with zero public setters, or
 * if they were all excluded while constructing the {@code BeanWriter}.
 *
 * @author Ayco Holleman
 */
public final class NoPublicSettersException extends InvokeException {

  NoPublicSettersException(Class beanClass) {
    super(beanClass
        + " does not have any writable properties, or they have all been excluded");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy