From dd86d68d7e529fdb385bca20c783d6ff85e53fa2 Mon Sep 17 00:00:00 2001 From: Vincent Aravantinos <aravantinos@fortiss.org> Date: Fri, 15 Apr 2016 16:10:05 +0000 Subject: [PATCH] moves ErrorEmbeddingException to utils refs 2553 --- .../service/IConstraintVerificationService.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/service/IConstraintVerificationService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/service/IConstraintVerificationService.java index 877cf5933..72c0a4c64 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/service/IConstraintVerificationService.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/service/IConstraintVerificationService.java @@ -5,7 +5,6 @@ import java.util.function.Consumer; import java.util.function.Predicate; import org.fortiss.tooling.kernel.internal.ConstraintVerificationService; -import org.fortiss.tooling.kernel.model.constraints.ErrorVerificationStatus; import org.fortiss.tooling.kernel.model.constraints.IConstrained; import org.fortiss.tooling.kernel.model.constraints.IConstraint; import org.fortiss.tooling.kernel.model.constraints.IConstraintVerificationStatus; @@ -92,19 +91,6 @@ public interface IConstraintVerificationService { */ public void setConstrained(IConstraint constraint, IConstrained constrained, int index); - /** Exception which embeds an error. */ - public static class ErrorEmbeddingException extends RuntimeException { - - /** The embedded error. */ - public ErrorVerificationStatus error; - - /** Constructor. */ - public ErrorEmbeddingException(ErrorVerificationStatus error) { - super(); - this.error = error; - } - } - /** * @param constrained * @param predicate -- GitLab