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

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

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

/** Exception thrown when an instance object is a component of itself.
 */
@SuppressWarnings("serial")
public class CompositionCycleException extends JmiException {
    
    /**
     * Constructs an CompositionCycleException without detail message.
     * @param objectInError An instance that caused the composition cycle.
     * @param elementInError Attribute, Reference or Association that is being updated to form a cycle.
     */
    public CompositionCycleException(Object objectInError, RefObject elementInError) {
        super(objectInError, elementInError);
    }
    
    /**
     * Constructs an CompositionCycleException with the specified detail message.
     * @param objectInError An instance that caused the composition cycle.
     * @param elementInError Attribute, Reference or Association that is being updated to form a cycle.
     * @param msg the detail message.
     */
    public CompositionCycleException(Object objectInError, RefObject elementInError, String msg) {
        super(objectInError, elementInError, msg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy