package jcircus.newutil;
public class ExceptionUtil {
public static void throwException (String str) {
try {
throw new Exception (str);
} catch (Exception e) {
e.printStackTrace();
System.exit(0);
}
}
public static void throwImplementationException (String methodname, Object o) {
ExceptionUtil.throwException(methodname + " :: Please implement an else if for " + o.toString());
}
}