harpoon.Analysis.GraphColoring
Class ColorableGraph.AlreadyColoredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by harpoon.Analysis.GraphColoring.ColorableGraph.AlreadyColoredException
All Implemented Interfaces:
Serializable
Enclosing interface:
ColorableGraph

public static class ColorableGraph.AlreadyColoredException
extends IllegalArgumentException

AlreadyColoredException will be thrown on attempt to call g.setColor(node,color) when n is present in the node -> color mapping.

See Also:
Serialized Form

Field Summary
 Object node
          The node that was targetted for coloring.
 
Constructor Summary
ColorableGraph.AlreadyColoredException(Object n)
           
ColorableGraph.AlreadyColoredException(String s, Object n)
           
 
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

node

public final Object node
The node that was targetted for coloring.

Constructor Detail

ColorableGraph.AlreadyColoredException

public ColorableGraph.AlreadyColoredException(Object n)

ColorableGraph.AlreadyColoredException

public ColorableGraph.AlreadyColoredException(String s,
                                              Object n)