package org.asciidoctor.internal;

public class AsciidoctorCoreException extends RuntimeException {

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

package org.asciidoctor.internal;

public class AsciidoctorCoreException extends RuntimeException {

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

    public AsciidoctorCoreException(String message, Throwable e) {
        super(message, e);
    }

}

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