File tree Expand file tree Collapse file tree
src/main/java/org/scijava/ops/matcher Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,13 +212,13 @@ public Object createOp(Object... secondaryArgs) throws OpMatchingException {
212212 return createOpInstance (secondaryArgs ).object ();
213213 }
214214
215- private void inject (StructInstance <?> opInst , Object ... secondaryArgs ) throws OpMatchingException {
215+ private void inject (StructInstance <?> opInst , Object ... secondaryArgs ) {
216216 // Inject the secondary args if there are any
217217 if (Inject .Structs .isInjectable (opInst )) {
218218 // Get padded secondary args
219219 Object [] paddedArgs = OpUtils .padArgs (this , true , secondaryArgs );
220220 if (paddedArgs == null ) {
221- throw new OpMatchingException (opInfo ().implementationName () + " | " + getStatus ());
221+ throw new IllegalArgumentException (opInfo ().implementationName () + " | " + getStatus ());
222222 }
223223 Inject .Structs .inputs (opInst , paddedArgs );
224224 // Secondary args are given, however there are no to inject
You can’t perform that action at this time.
0 commit comments