Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа 1 / lab_1 / VertexNotFoundException
.cpp// Copyright (C) 1991 - 1999 Rational Software Corporation
//////////////////////////////////////////////////////////////////////////
#include "VertexNotFoundException.h"
//////////////////////////////////////////////////////////////////////////
string VertexNotFoundException::getException()
{
return GraphException::getException();
}
void VertexNotFoundException::printException()
{
GraphException::printException();
}
VertexNotFoundException::VertexNotFoundException(string message) : GraphException(message)
{
// string s = this->getName() + " has been thrown\n";
// cout<<s.c_str();
}
const string& VertexNotFoundException::get__description() const
{
return _description;
}
const string VertexNotFoundException::getName() const
{
return "VertexNotFoundException";
}
//////////////////////////////////////////////////////////////////////////