⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compositionviolationexception.java

📁 数据仓库展示程序
💻 JAVA
字号:
package javax.jmi.reflect;

/** Exception thrown when an instance object is going to become owned by more than one element (in sense of aggregation semantics).
 */
public class CompositionViolationException extends JmiException {

    /**
     * Constructs a <code>CompositionViolationException</code> without detail message.
     * @param objectInError An instance (component) that caused the composition violation.
     * @param elementInError Attribute, Reference or Association that is being updated to violate the composition.
     */
    public CompositionViolationException(Object objectInError, RefObject elementInError) {
        super(objectInError, elementInError);
    }

    /**
     * Constructs a <code>CompositionViolationException</code> with the specified detail message.
     * @param objectInError An instance (component) that caused the composition voilation.
     * @param elementInError Attribute, Reference or Association that is being updated to violate the composition.
     * @param msg the detail message.
     */
    public CompositionViolationException(Object objectInError, RefObject elementInError, String msg) {
        super(objectInError, elementInError, msg);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -