duplicateexception.java

来自「数据仓库展示程序」· Java 代码 · 共 26 行

JAVA
26
字号
package javax.jmi.reflect;

/** Exception thrown when a collection passed to an operation parameter with <CODE>isUnique</CODE> set to true
 * contains duplicate values.
 */
public class DuplicateException extends JmiException {

    /**
     * Constructs an <code>DuplicateException</code> without detail message.
     * @param objectInError object that was duplicated.
     * @param elementInError Attribute, Parameter or Association End that defines the multiplicity which is being violated.
     */
    public DuplicateException(Object objectInError, RefObject elementInError) {
        super(objectInError, elementInError);
    }

    /**
     * Constructs an <code>DuplicateException</code> with the specified detail message.
     * @param objectInError object that was duplicated.
     * @param elementInError Attribute, Parameter or Association End that defines the multiplicity which is being violated.
     * @param msg the detail message.
     */
    public DuplicateException(Object objectInError, RefObject elementInError, String msg) {
        super(objectInError, elementInError, msg);
    }
}

⌨️ 快捷键说明

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