Extract Method raiseInvalidGradeCategory

raiseInvalidGradeCategory method is added which displays a proper
message and returns false, these lines are deleted from SaveClass
methods.