/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.graph; import com.opengamma.sesame.function.Parameter; /** * Error node indicating implementation can be found for a an interface. */ public class NoImplementationNode extends ErrorNode { /** * Creates an instance. * * @param type the expected type of the object created by this node, not null * @param exception the exception that occurred, not null * @param parameter the parameter this node satisfies, null if it's the root node */ NoImplementationNode(Class<?> type, NoImplementationException exception, Parameter parameter) { super(type, exception, parameter); } /** * @return the exception that triggered creation of the node */ @Override public NoImplementationException getException() { return (NoImplementationException) super.getException(); } }