implement the base Exception class