📄 duplicateexception.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -