package io.github.thatsmusic99.headsplus.util.events;

import java.util.HashMap;

public class HeadsPlusException extends Exception {

    private HashMap<String, String> exceptionInfo;
    private Exception originalException;

    // Invocation exception but better
    public HeadsPlusException(Exception originalException, HashMap<String, String> exInfo) {
        this.originalException = originalException;
        this.exceptionInfo = exInfo;
    }

    public Exception getOriginalException() {
        return originalException;
    }

    public HashMap<String, String> getExceptionInfo() {
        return exceptionInfo;
    }
}

@@ -441,32 +441,168 @@
  exInfo;%0A    %7D%0A%0A
+    public HeadsPlusException(Exception ex) %7B%0A        this.originalException = ex;%0A        this.exceptionInfo = new HashMap%3C%3E();%0A    %7D%0A%0A
     public Excep

Include empty HPEs