harpoon.Analysis.GraphColoring
Class ColorableGraph.AlreadyColoredException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--harpoon.Analysis.GraphColoring.ColorableGraph.AlreadyColoredException
All Implemented Interfaces:
Serializable
Enclosing class:
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)
           
 
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)