aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/GT_ItsNotMyFaultException.java
blob: d6b41e69b0b8ca1ae83facbe9598d48bf30acfb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package gregtech.api.util;

public class GT_ItsNotMyFaultException extends RuntimeException {

    private static final long serialVersionUID = -8752778866486460495L;

    private String mError;

    public GT_ItsNotMyFaultException(String aError) {
        mError = aError;
    }

    @Override
    public String toString() {
        return "The GregTech-Addon has a Problem.\nIT'S NOT MY FAULT!!! Below is how to fix it.\n" + mError
            + "\nDO NOT COME TO ME WITH THIS CRASH. YOU CAUSED IT YOURSELF, AND I TOLD YOU HOW TO FIX IT!!!";
    }
}