Changing exception type so that it can be logged smoothly