creceivedexception.h Source File

Parallel Simulation API: creceivedexception.h Source File
Parallel Simulation API
creceivedexception.h
1//=========================================================================
2// CRECEIVEDEXCEPTION.H - part of
3//
4// OMNeT++/OMNEST
5// Discrete System Simulation in C++
6//
7//=========================================================================
8
9/*--------------------------------------------------------------*
10 Copyright (C) 1992-2017 Andras Varga
11 Copyright (C) 2006-2017 OpenSim Ltd.
12
13 This file is distributed WITHOUT ANY WARRANTY. See the file
14 `license' for details on this and other legal matters.
15*--------------------------------------------------------------*/
16
17#ifndef __OMNETPP_CRECEIVEDEXCEPTION_H
18#define __OMNETPP_CRECEIVEDEXCEPTION_H
19
20#include "omnetpp/cexception.h"
21
22namespace omnetpp {
23
29class cReceivedException : public cException
30{
31 public:
35 cReceivedException(int sourceProcId, const char *msg);
36};
37
44class cReceivedTerminationException : public cTerminationException
45{
46 public:
50 cReceivedTerminationException(int sourceProcId, const char *msg);
51};
52
53} // namespace omnetpp
54
55
56#endif
57
58
59
cReceivedException(int sourceProcId, const char *msg)
cReceivedTerminationException(int sourceProcId, const char *msg)