From b2f9625c9f36cd7ec934619884fa57a9ba7be078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martti=20K=C3=A4=C3=A4rik?= <martti.kaarik@elvior.com> Date: Fri, 28 Mar 2025 20:19:09 +0200 Subject: [PATCH] Use implementation class STopExceptionImpl --- .../mts/tdl/execution/java/codegen/JUnitTestGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/org.etsi.mts.tdl.execution.java.codegen/src/org/etsi/mts/tdl/execution/java/codegen/JUnitTestGenerator.java b/plugins/org.etsi.mts.tdl.execution.java.codegen/src/org/etsi/mts/tdl/execution/java/codegen/JUnitTestGenerator.java index 523dfb3..92867b5 100644 --- a/plugins/org.etsi.mts.tdl.execution.java.codegen/src/org/etsi/mts/tdl/execution/java/codegen/JUnitTestGenerator.java +++ b/plugins/org.etsi.mts.tdl.execution.java.codegen/src/org/etsi/mts/tdl/execution/java/codegen/JUnitTestGenerator.java @@ -920,7 +920,7 @@ public class JUnitTestGenerator extends Renderer { writeObjective(b); writeAfter = false; - line("throw new " + STOP_EXCEPTION + "(\"Stop " + getQName(b) + "\");"); + line("throw new " + STOP_EXCEPTION + "Impl" + "(\"Stop " + getQName(b) + "\");"); thrownExceptions.add(STOP_EXCEPTION); } @@ -1140,7 +1140,7 @@ public class JUnitTestGenerator extends Renderer { } } else if (f.kind.equals("TimeoutResult")) { - line("throw new " + STOP_EXCEPTION + "(\"Timeout\");"); + line("throw new " + STOP_EXCEPTION + "Impl" + "(\"Timeout\");"); thrownExceptions.add(STOP_EXCEPTION); } else -- GitLab