Added Exception class