|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--javax.jmi.reflect.JmiException | +--javax.jmi.reflect.ClosureViolationException
Exception thrown when Composition Closure or Reference Closure rules are violated. (Supertype Closure rule can never be violated in JMI).
Constructor Summary | |
ClosureViolationException(java.lang.Object objectInError,
RefObject elementInError)
Constructs an ClosureViolationException without detail message. |
|
ClosureViolationException(java.lang.Object objectInError,
RefObject elementInError,
java.lang.String msg)
Constructs an ClosureViolationException with the specified detail message. |
Methods inherited from class javax.jmi.reflect.JmiException |
getElementInError, getObjectInError |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClosureViolationException(java.lang.Object objectInError, RefObject elementInError)
ClosureViolationException
without detail message.
objectInError
- An instance that violated the closure rule.elementInError
- Reference, Attribute or Association for which the closure rule is violated.public ClosureViolationException(java.lang.Object objectInError, RefObject elementInError, java.lang.String msg)
ClosureViolationException
with the specified detail message.
objectInError
- An instance that violated the closure rule.elementInError
- Reference, Attribute or Association for which the closure rule is violated.msg
- the detail message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |