Bug fixed; Exception class