function value = getValue(mapping,classLabel)
if mapping.LabelToValue.containsKey(classLabel)
    value = mapping.LabelToValue.get(classLabel);   
else
     error('LabelMap:getValue:noSuchLabel','this Mapping does not contain a Label ''%s''',classLabel);
end