Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа 23 / GraphStructureException
.cpp// Copyright (C) 1991 - 1999 Rational Software Corporation
#include "stdafx.h"
#include "GraphStructureException.h"
#include <iostream.h>
//##ModelId=471B508F009C
void GraphStructureException::showCause( )
{
// TODO: Add your specialized code here.
// NOTE: Requires a correct return value to compile.
cout << "Exception: " << exp_msg << endl;
}
//##ModelId=471B50D60148
GraphStructureException::GraphStructureException(char *err)
{
// ToDo: Add your specialized code here and/or call the base class
this->exp_msg = err;
}
const char* GraphStructureException::getCauseMsg()
{
return exp_msg;
}
Соседние файлы в папке Лабораторная работа 23