Added exception class for errors from semantic analyzer