harpoon.Analysis.GraphColoring
Class ColorableGraph.IllegalColor

java.lang.Object
  extended by java.lang.Throwable
      extended by 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.
 
Constructor Summary
ColorableGraph.IllegalColor(Object n, Color c)
          Constructs an IllegalColor with node = n and color = c.
 
Method Summary
 
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
 

Field Detail

color

public final Color color
Color intended for assignment.


node

public final Object node
Node intended to be assigned to color.

Constructor Detail

ColorableGraph.IllegalColor

public ColorableGraph.IllegalColor(Object n,
                                   Color c)
Constructs an IllegalColor with node = n and color = c.