Skip to content
Snippets Groups Projects
Commit dd86d68d authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

moves ErrorEmbeddingException to utils

refs 2553
parent 796c36ae
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment