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.
Warning: Serialized and ZSerialized objects of this class will not be
compatible with future Jazz releases. The current serialization support is
appropriate for short term storage or RMI between applications running the
same version of Jazz. A future release of Jazz will provide support for long
term persistence.
- Author:
- Ben Bederson
- See Also:
- Serialized Form
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 |
ZTooManyChildrenException
public ZTooManyChildrenException(ZGroup decorator)
- Construct a ZTooManyChildrenException object.
- Parameters:
decorator
- group node that the operation to add more than one child to was attempted on.
ZTooManyChildrenException
public ZTooManyChildrenException(ZGroup decorator,
java.lang.String msg)
- Construct a ZTooManyChildrenException object.
- Parameters:
decorator
- group node that the operation to add more than one child to was attempted on.msg
- a message associated with this exception.
getDecorator
public ZGroup getDecorator()
- Get the decorator that the operation to add more than one child to was attempted on.
- Returns:
- the decorator.
Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.