Change type of exception to not be void *.