Exception type made generic.