add: exeption message
This commit is contained in:
@ -68,12 +68,12 @@ void Bureaucrat::decrement()
|
||||
|
||||
const char* Bureaucrat::GradeTooLowException::what() const throw()
|
||||
{
|
||||
return "Too small grade";
|
||||
return "Too low grade";
|
||||
}
|
||||
|
||||
const char* Bureaucrat::GradeTooHighException::what() const throw()
|
||||
{
|
||||
return "Too big grade";
|
||||
return "Too high grade";
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream &stream, Bureaucrat &src)
|
||||
|
Reference in New Issue
Block a user