blob: c4fcddd4d7bdc4814dc4bfa382054ac823bd75ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// //////////////////////////////////////////////////////////////////////////
// Implementation file TestPlugInException.cpp for class TestPlugInException
// (c)Copyright 2000, Baptiste Lepilleur.
// Created: 2001/06/23
// //////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "TestPlugInException.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
TestPlugInException::TestPlugInException( std::string message,
Cause cause ) :
runtime_error( message ),
m_cause( cause )
{
}
TestPlugInException::TestPlugInException( const TestPlugInException © ) :
runtime_error( copy )
{
}
TestPlugInException::~TestPlugInException()
{
}
TestPlugInException &
TestPlugInException::operator =( const TestPlugInException © )
{
runtime_error::operator =( copy );
m_cause = copy.m_cause;
return *this;
}
TestPlugInException::Cause
TestPlugInException::getCause() const
{
return m_cause;
}
|