GT5-Unofficial/src/main/java/gregtech/api/util/GT_ItsNotMyFaultException.java

16 lines
539 B
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
package gregtech.api.util;
public class GT_ItsNotMyFaultException extends RuntimeException {
2015-10-22 02:15:09 +00:00
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!!!";
}
2015-04-23 16:14:22 +00:00
}