# Pastebin YYMk8aSu
package com.pixelmonmod.pixelmon.client.models.smd;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.util.Random;
/**
* SMD-specific Exception, because it's Gabe Newell. You know, president of Valve?
*
* *Note: For each {@code GabeNewellException} thrown, Episode 3 gets delayed another year.
*/
public class GabeNewellException extends ModelFormatException{
private static final String prefix = "Uhh, nope. It's just ";
private static final String suffix1 = "Hopefully, it will have been worth the weight.";
private static final String suffix2 = "And my favorite class is the Spy";
public GabeNewellException(String message, Throwable cause){
super(message, cause);
}
public GabeNewellException(String message){
super(message);
}
public GabeNewellException(Throwable cause){
super(cause);
}
@Override
public void printStackTrace(PrintStream s){
s.print(prefix);
super.printStackTrace(s);
boolean b = new Random().nextBoolean();
s.println(b ? suffix1 : suffix2);
}
@Override
public void printStackTrace(PrintWriter s){
s.print(prefix);
super.printStackTrace(s);
boolean b = new Random().nextBoolean();
s.println(b ? suffix1 : suffix2);
}
}