org.niffty
Class HeirarchyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.niffty.HeirarchyException
All Implemented Interfaces:
java.io.Serializable

public class HeirarchyException
extends java.lang.RuntimeException

A HeirarchyException is thrown by HeirarchyNode if the heirarchical relationship between and parent object and its children is inconsistent. For example, this is thrown if the index of a child in its parent's child list is requrested, but the child has no parent.

See Also:
HeirarchyNode, Serialized Form

Constructor Summary
HeirarchyException(java.lang.String message)
          Creates new HeirarchyException
 
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

HeirarchyException

public HeirarchyException(java.lang.String message)
Creates new HeirarchyException

Parameters:
message - the exception detail message