OMNeT++ Parallel Simulation Support 6.1
Discrete Event Simulation Library
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 
22 namespace omnetpp {
23 
29 class cReceivedException : public cException
30 {
31  public:
35  cReceivedException(int sourceProcId, const char *msg);
36 };
37 
44 class 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 
omnetpp::cReceivedException
Represents an exception that has been received from other partitions.
Definition: creceivedexception.h:29
omnetpp::cReceivedException::cReceivedException
cReceivedException(int sourceProcId, const char *msg)
omnetpp::cReceivedTerminationException::cReceivedTerminationException
cReceivedTerminationException(int sourceProcId, const char *msg)
omnetpp::cReceivedTerminationException
Represents a termination exception that has been received from other partitions.
Definition: creceivedexception.h:44