junit.quilt.cover.generic
Class ExceptionEdge

java.lang.Object
  |
  +--junit.quilt.cover.generic.FlowControlEdge
        |
        +--junit.quilt.cover.generic.ExceptionEdge
All Implemented Interfaces:
org.apache.commons.graph.Edge

public class ExceptionEdge
extends FlowControlEdge


Constructor Summary
ExceptionEdge(BlockVertex source, BlockVertex handler, java.lang.Class exception)
           
ExceptionEdge(BlockVertex source, BlockVertex handler, org.apache.bcel.generic.ObjectType exception)
           
ExceptionEdge(BlockVertex source, java.lang.Class exception)
           
ExceptionEdge(BlockVertex source, org.apache.bcel.generic.ObjectType exception)
           
 
Method Summary
 void connect(org.apache.bcel.generic.MethodGen method, org.apache.bcel.generic.InstructionList il, org.apache.bcel.generic.InstructionHandle source, org.apache.bcel.generic.InstructionHandle target)
           
 FlowControlEdge copy(BlockVertex source, BlockVertex target)
          This should work like clone, but it returns a FlowControlEdge.
 java.lang.String toString()
           
 
Methods inherited from class junit.quilt.cover.generic.FlowControlEdge
getSource, getTarget, setSource, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionEdge

public ExceptionEdge(BlockVertex source,
                     BlockVertex handler,
                     java.lang.Class exception)

ExceptionEdge

public ExceptionEdge(BlockVertex source,
                     BlockVertex handler,
                     org.apache.bcel.generic.ObjectType exception)

ExceptionEdge

public ExceptionEdge(BlockVertex source,
                     java.lang.Class exception)

ExceptionEdge

public ExceptionEdge(BlockVertex source,
                     org.apache.bcel.generic.ObjectType exception)
Method Detail

connect

public void connect(org.apache.bcel.generic.MethodGen method,
                    org.apache.bcel.generic.InstructionList il,
                    org.apache.bcel.generic.InstructionHandle source,
                    org.apache.bcel.generic.InstructionHandle target)
Overrides:
connect in class FlowControlEdge

copy

public FlowControlEdge copy(BlockVertex source,
                            BlockVertex target)
Description copied from class: FlowControlEdge
This should work like clone, but it returns a FlowControlEdge. All edges must implement this, otherwise the JSRInliner will not work. As the Vertices are "copy"ed as well, we need to provide them too.
Overrides:
copy in class FlowControlEdge

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.