- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.scijava.ops.api.OpMatchingException
-
- org.scijava.ops.engine.DependencyMatchingException
-
- All Implemented Interfaces:
Serializable
public class DependencyMatchingException extends OpMatchingException
AnOpMatchingExceptioncaused by anotherOpMatchingExceptionthrown when resolving dependencies. We illustrate the need forDependencyMatchingExceptionwith an example: Suppose OpAhas an dependency on OpB, which in turn has a dependency on OpC. Suppose further thatAandBare found, but noCis found to satisfyB. This will result in anOpMatchingExceptionthrown for OpA. We would want to know:- that the request for
Awas not fulfilled - that no match could be found for
C, which was the cause for (1)
causes.- Author:
- Gabriel Selzer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DependencyMatchingException(String message)DependencyMatchingException(String message, DependencyMatchingException cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static Stringmessage(String dependentOp, String dependencyName, OpRequest dependency)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DependencyMatchingException
public DependencyMatchingException(String message)
-
DependencyMatchingException
public DependencyMatchingException(String message, DependencyMatchingException cause)
-
-