net.sourceforge.wurfl.core.resource.exc
Class CircularHierarchyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.wurfl.core.exc.WURFLRuntimeException
                  extended by net.sourceforge.wurfl.core.resource.exc.WURFLConsistencyException
                      extended by net.sourceforge.wurfl.core.resource.exc.HierarchyConsistencyException
                          extended by net.sourceforge.wurfl.core.resource.exc.CircularHierarchyException
All Implemented Interfaces:
Serializable

public class CircularHierarchyException
extends HierarchyConsistencyException

Circular hierarchy exception.

This Exception is thrown when is detected a ModelDevice member of a circular hierarchy. A circular hierarchy don not have a start and a end device, iterating over it take in a infinite loop.

Version:
$Id: CircularHierarchyException.java 934 2012-03-27 13:34:26Z fulvio.crivellaro $
See Also:
Serialized Form

Constructor Summary
CircularHierarchyException(List hierarchy)
          Build this Exception by a hierarchy.
 
Method Summary
 
Methods inherited from class net.sourceforge.wurfl.core.resource.exc.HierarchyConsistencyException
getHierarchy
 
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

CircularHierarchyException

public CircularHierarchyException(List hierarchy)
Build this Exception by a hierarchy.

Parameters:
hierarchy - The list of ModelDevices member of this circular hierarchy.


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.