Remove deprecated exception handling method