Class CyclicFormThemeHierarchyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.xima.fc.common.form_theme.FormThemeRuntimeException
de.xima.fc.common.form_theme.CyclicFormThemeHierarchyException
- All Implemented Interfaces:
Serializable
Exception thrown when a cycle exists in the parent-child hierarchy of form themes. For example, when them A has B as
its parent, theme B as C as its parent, and theme C has A as its parent.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception for a cycle in a form theme hierarchy.CyclicFormThemeHierarchyException(String message) Creates a new exception for a cycle in a form theme hierarchy.CyclicFormThemeHierarchyException(String message, FormThemeReference node) Creates a new exception for a cycle in a form theme hierarchy.CyclicFormThemeHierarchyException(String message, List<FormThemeReference> nodes) Creates a new exception for a cycle in a form theme hierarchy.Creates a new exception for a cycle in a form theme hierarchy. -
Method Summary
Modifier and TypeMethodDescriptioncycle()Gets the nodes in the parent-child hierarchy graph that form the cycle.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CyclicFormThemeHierarchyException
Creates a new exception for a cycle in a form theme hierarchy.- Parameters:
message- The message with details regarding the exception.
-
CyclicFormThemeHierarchyException
Creates a new exception for a cycle in a form theme hierarchy.- Parameters:
message- The message with details regarding the exception.nodes- The nodes in the parent-child hierarchy graph that form the cycle.
-
CyclicFormThemeHierarchyException
Creates a new exception for a cycle in a form theme hierarchy.- Parameters:
nodes- The nodes in the parent-child hierarchy graph that form the cycle.
-
CyclicFormThemeHierarchyException
Creates a new exception for a cycle in a form theme hierarchy.- Parameters:
message- The message with details regarding the exception.node- One of the nodes in the parent-child hierarchy graph that form the cycle.
-
CyclicFormThemeHierarchyException
Creates a new exception for a cycle in a form theme hierarchy.- Parameters:
node- One of the nodes in the parent-child hierarchy graph that form the cycle.
-
-
Method Details
-
cycle
Gets the nodes in the parent-child hierarchy graph that form the cycle. May return an empty list when no such information is available.- Returns:
- The nodes connected with edges that form the cycle.
-