constraintviolationexception.java

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

JAVA
26
字号
package javax.jmi.reflect;

/** Exception thrown when a constraint is violated.
 */
public class ConstraintViolationException extends JmiException {

    /**
     * Constructs new <code>ConstraintViolationException</code> 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 <code>ConstraintViolationException</code> 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);
    }
}

⌨️ 快捷键说明

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