harpoon.Analysis.GraphColoring
Class ColorableGraph.IllegalColor
java.lang.Object
java.lang.Throwable
harpoon.Analysis.GraphColoring.ColorableGraph.IllegalColor
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- ColorableGraph
public static class ColorableGraph.IllegalColor
- extends Throwable
IllegalColor will be thrown on an attempt to color a
node with a color that for some reason is not legal for that
node in this graph.
- See Also:
- Serialized Form
Field Summary |
Color |
color
Color intended for assignment. |
Object |
node
Node intended to be assigned to color . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
color
public final Color color
- Color intended for assignment.
node
public final Object node
- Node intended to be assigned to
color
.
ColorableGraph.IllegalColor
public ColorableGraph.IllegalColor(Object n,
Color c)
- Constructs an IllegalColor with
node = n
and
color = c
.