106107108109110111112113114115
DAG.addEdge( new Dependency( vHead.getValue(), vDep.getValue() ), vHead, vDep ); } } catch ( CycleException ex ) { throw new CircularDependencyException( ex ); } return vHead; }