
package hu.webarticum.jsatbuilder.builder.core;


public class CollapseException extends Exception {
    
    private static final long serialVersionUID = 1L;
    
    
    private final Constraint constraint;

    public CollapseException() {
        this(null);
    }
    
    public CollapseException(Constraint constraint) {
        this.constraint = constraint;
    }
    
    public Constraint getConstraint() {
        return constraint;
    }
    
}

@@ -255,16 +255,44 @@
 his(null
+, %22Constraint set collapsed%22
 );%0A    %7D
@@ -347,24 +347,277 @@
 nstraint) %7B%0A
+        this(constraint, %22Constraint collapsed: %22 + constraint);%0A    %7D%0A%0A    public CollapseException(String message) %7B%0A        this(null, message);%0A    %7D%0A    %0A    public CollapseException(Constraint constraint, String message) %7B%0A        super(message);%0A
         this

Add message support to CollapseException