javax.jmi.reflect
Class CompositionCycleException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.jmi.reflect.JmiException
                          |
                          +--javax.jmi.reflect.CompositionCycleException
All Implemented Interfaces:
java.io.Serializable

public class CompositionCycleException
extends JmiException

Exception thrown when an instance object is a component of itself.

See Also:
Serialized Form

Constructor Summary
CompositionCycleException(java.lang.Object objectInError, RefObject elementInError)
          Constructs an CompositionCycleException without detail message.
CompositionCycleException(java.lang.Object objectInError, RefObject elementInError, java.lang.String msg)
          Constructs an CompositionCycleException 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

CompositionCycleException

public CompositionCycleException(java.lang.Object objectInError,
                                 RefObject elementInError)
Constructs an CompositionCycleException without detail message.

Parameters:
objectInError - An instance that caused the composition cycle.
elementInError - Attribute, Reference or Association that is being updated to form a cycle.

CompositionCycleException

public CompositionCycleException(java.lang.Object objectInError,
                                 RefObject elementInError,
                                 java.lang.String msg)
Constructs an CompositionCycleException with the specified detail message.

Parameters:
objectInError - An instance that caused the composition cycle.
elementInError - Attribute, Reference or Association that is being updated to form a cycle.
msg - the detail message.