compositionviolationexception.java
来自「数据仓库展示程序」· Java 代码 · 共 25 行
JAVA
25 行
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 + =
减小字号Ctrl + -
显示快捷键?