CPN
Computational Process Networks
Main Page
Namespaces
Classes
Files
File List
File Members
lib
Exceptions.cc
Go to the documentation of this file.
1
//=============================================================================
2
// Computational Process Networks class library
3
// Copyright (C) 1997-2006 Gregory E. Allen and The University of Texas
4
//
5
// This library is free software; you can redistribute it and/or modify it
6
// under the terms of the GNU Library General Public License as published
7
// by the Free Software Foundation; either version 2 of the License, or
8
// (at your option) any later version.
9
//
10
// This library is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
// Library General Public License for more details.
14
//
15
// The GNU Public License is available in the file LICENSE, or you
16
// can write to the Free Software Foundation, Inc., 59 Temple Place -
17
// Suite 330, Boston, MA 02111-1307, USA, or you can find it on the
18
// World Wide Web at http://www.fsf.org.
19
//=============================================================================
23
#include "common_priv.h"
24
#include <
cpn/Exceptions.h
>
25
#include <sstream>
26
27
namespace
CPN {
28
29
// Ensure vtables und up in this translation unit
30
31
ShutdownException::~ShutdownException
() throw() {}
32
33
TypeMismatchException::~TypeMismatchException
() throw() {}
34
35
BrokenQueueException::BrokenQueueException
(
Key_t
key)
throw
()
36
:
Exception
(3)
37
{
38
std::ostringstream oss;
39
oss <<
"Queue endpoint "
<< key <<
" shutdown abnormally."
;
40
msg = oss.str();
41
}
42
43
BrokenQueueException::~BrokenQueueException
() throw() {}
44
45
}
46
CPN::BrokenQueueException::~BrokenQueueException
~BrokenQueueException()
Definition:
Exceptions.cc:43
CPN::ShutdownException::~ShutdownException
~ShutdownException()
Definition:
Exceptions.cc:31
CPN::Key_t
uint64_t Key_t
Definition:
common.h:79
Exceptions.h
The exceptions specified for the CPN network.
CPN::TypeMismatchException::~TypeMismatchException
~TypeMismatchException()
Definition:
Exceptions.cc:33
CPN::BrokenQueueException::BrokenQueueException
BrokenQueueException(Key_t key)
Definition:
Exceptions.cc:35
Exception
Definition:
Exception.h:33
Generated by
1.8.5