throw not found exception for finite map