package exceptions; public class IllegalTypeException extends RuntimeException { public IllegalTypeException() { super("Term type is illegal"); } public IllegalTypeException(String msg) { super(msg); } }