def get_knowledge_category(self):
if not self.has_knowledge_category():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:<EOL><INDENT>return Grade(self._get_grade_map(self._my_map['<STR_LIT>'])),<EOL><DEDENT>
Gets the grade associated with the knowledge dimension.

        return: (osid.grading.Grade) - the grade
        raise:  IllegalState - has_knowledge_category() is false
        raise:  OperationFailed - unable to complete request
        compliance: mandatory - This method must be implemented.