Removed unused constructors from exceptions.