package org.asciidoctor.internal;

public class AsciidoctorCoreException extends RuntimeException {

    public AsciidoctorCoreException(Throwable e) {
        super(e);
    }
}

@@ -169,10 +169,112 @@
 ;%0A    %7D%0A
+%0A    public AsciidoctorCoreException(String message, Throwable e) %7B%0A        super(message, e);%0A    %7D%0A%0A
 %7D%0A

Add constructor to AsciidoctorCoreException that takes a String and a Throwable so that Asciidoctor Core can correctly use it to wrap caught exceptions