Update and bug fixed in when calling \Exception class