def get_grade(self):
grade_system = self.get_gradebook_column().get_grade_system()<EOL>for grade in grade_system.get_grades():<EOL><INDENT>if str(grade.ident) == self._my_map['<STR_LIT>']:<EOL><INDENT>return grade<EOL><DEDENT><DEDENT>raise errors.IllegalState('<STR_LIT>')<EOL>
Gets the grade in this entry if the grading system is based on grades.

        return: (osid.grading.Grade) - the grade
        raise:  IllegalState - ``is_graded()`` is ``false`` or
                ``GradeSystem.isBasedOnGrades()`` is ``false``
        raise:  OperationFailed - unable to complete request
        *compliance: mandatory -- This method must be implemented.*