package org.requirementsascode.exception;

/**
 * Exception that is thrown when an element should be in the use case
 * because it is referenced from somewhere in the same use case, but it can't be found.
 * 
 * @author b_muth
 *
 */
public class NoSuchElementInModel extends RuntimeException{
	private static final long serialVersionUID = -6636292150079241122L;

	public NoSuchElementInModel(String elementName) {
		super(exceptionMessage(elementName));
	}

	private static String exceptionMessage(String elementName) {
		return "Element does not exist in model:" + elementName;
	}
}
@@ -36,16 +36,46 @@
 ption;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * E
@@ -315,16 +315,40 @@
 xception
+ implements Serializable
 %7B%0A%09priva

Make NoSuchElementInModel class Serializable