DependencyGraph dependencyGraph = createGraph();
Map<Throwable, Integer> exceptions = new HashMap<>();
//somewhat contrived...
exceptions.put(new ThrowableWithClass("a null pointer", ThrowableWithClass.class), 1);
exceptions.put(new ThrowableWithClass("out of memory error", ThrowableWithClass.class), 4);
ValueRequirement valueRequirement = new ValueRequirement(ValueRequirementNames.FAIR_VALUE, ComputationTargetType.PORTFOLIO_NODE, UniqueId.of("Fair Value Scheme", "Fair Value Id"));
List<ResolutionFailure> failures = new ArrayList<>();
failures.add(ResolutionFailureObjectFactory.unsatisfiedResolutionFailure(valueRequirement));