|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.wurfl.core.WURFLRuntimeException
net.sourceforge.wurfl.core.resource.WURFLConsistencyException
net.sourceforge.wurfl.core.resource.HierarchyConsistencyException
public abstract class HierarchyConsistencyException
Generic hierarchy consistency exception.
This Exception is thrown when a inconsistent hierarchy is detected in
WURFLModel.
Device hierarchy is defined as ordered list from generic to root
device.
Example:
generic -> ... -> root
| Constructor Summary | |
|---|---|
HierarchyConsistencyException(List hierarchy)
Build this exception from a ModelDevice hierarchy. |
|
HierarchyConsistencyException(List hierarchy,
String message)
Build this exception from a ModelDevice hierarchy and message. |
|
| Method Summary | |
|---|---|
List |
getHierarchy()
Returns the hierarchy source of this exception. |
| 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 |
|---|
public HierarchyConsistencyException(List hierarchy,
String message)
hierarchy - a List representing the object hierarchy.message - The message to display.public HierarchyConsistencyException(List hierarchy)
hierarchy - a List representing the object hierarchy.message - The message to display.| Method Detail |
|---|
public List getHierarchy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||