Jazz API Documentation

edu.umd.cs.jazz.util
Class ZTooManyChildrenException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--edu.umd.cs.jazz.util.ZTooManyChildrenException
All Implemented Interfaces:
java.io.Serializable

public class ZTooManyChildrenException
extends java.lang.RuntimeException
implements java.io.Serializable

ZTooManyChildrenException is an exception that is thrown to indicate that an operation was attempted that would have resulted in a decorator node having more than one child.

See Also:
Serialized Form

Constructor Summary
ZTooManyChildrenException(ZGroup decorator)
           
ZTooManyChildrenException(ZGroup decorator, java.lang.String msg)
           
 
Method Summary
 ZGroup getDecorator()
          Get the decorator that the operation to add more than one child to was attempted on.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZTooManyChildrenException

public ZTooManyChildrenException(ZGroup decorator)

ZTooManyChildrenException

public ZTooManyChildrenException(ZGroup decorator,
                                 java.lang.String msg)
Method Detail

getDecorator

public ZGroup getDecorator()
Get the decorator that the operation to add more than one child to was attempted on.
Returns:
the decorator.

Jazz API Documentation