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

javax.jmi.reflect.ConstraintViolationException Maven / Gradle / Ivy

There is a newer version: 2.18.10
Show newest version
package javax.jmi.reflect;

/** Exception thrown when a constraint is violated.
 */
@SuppressWarnings("serial")
public class ConstraintViolationException extends JmiException {
    
    /**
     * Constructs new ConstraintViolationException without detail message.
     * @param objectInError object violating the constraint.
     * @param elementInError violated constraint object.
     */
    public ConstraintViolationException(Object objectInError, RefObject elementInError) {
        super(objectInError, elementInError);
    }

    /**
     * Constructs an ConstraintViolationException with the specified detail message.
     * @param objectInError object violating the constraint.
     * @param elementInError violated constraint object.
     * @param msg the detail message.
     */
    public ConstraintViolationException(Object objectInError, RefObject elementInError, String msg) {
        super(objectInError, elementInError, msg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy