diff --git a/src/exceptions/IllegalTypeException.java b/src/exceptions/IllegalTypeException.java index cef3cc9..ea73b66 100644 --- a/src/exceptions/IllegalTypeException.java +++ b/src/exceptions/IllegalTypeException.java @@ -2,6 +2,10 @@ public class IllegalTypeException extends RuntimeException { + public IllegalTypeException() { + super("Term type is illegal"); + } + public IllegalTypeException(String msg) { super(msg); }