# ****************************************************************************************
# ****************************************************************************************
#
#		Name:		exceptions.py
#		Purpose:	M7 Compiler Exception Class(es)
#		Date:		26th August 2018
#		Author:		Paul Robson (paul@robsons.org.uk)
#
# ****************************************************************************************
# ****************************************************************************************

# ****************************************************************************************
#										Compiler Exception
# ****************************************************************************************

class CompilerException(Exception):
	def __init__(self,msg):
		Exception.__init__(self)
		self.error = msg
	def getMessage(self):
		return self.error

if __name__ == '__main__':
	raise CompilerException("Hello world")
	