package net.noiseinstitute.lessjs4java;

import org.mozilla.javascript.JavaScriptException;

class LessCompileError extends Error {
    private static final long serialVersionUID = -1207803729594146589L;

    private JavaScriptException cause;

    public LessCompileError (JavaScriptException cause) {
        super(cause.getValue().toString(), cause);
        this.cause = cause;
    }

    public LessCompileError (String message, JavaScriptException cause) {
        super(message, cause);
        this.cause = cause;
    }

    @Override
    public String toString() {
        return String.format("less.js internal error: %1$s\n%2$s", getMessage(), cause.getScriptStackTrace());
    }
}

@@ -549,51 +549,223 @@
     
-@Override%0D%0A    public String toString() %7B%0D%0A
+public LessCompileError (String message) %7B%0D%0A        super(message);%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public String toString() %7B%0D%0A        if (cause == null) %7B%0D%0A            return super.toString();%0D%0A        %7D else %7B%0D%0A    
     
@@ -868,22 +868,33 @@
 kTrace());%0D%0A
+        %7D%0D%0A
     %7D%0D%0A%7D%0D%0A

Fix missing constructor.