added __str__ method for exception