Accept subclasses of Exception