Rename cas exception to be more generic