remove redundant exceptions classes