00001 //========================================================================= 00002 // CRECEIVEDEXCEPTION.H - part of 00003 // 00004 // OMNeT++/OMNEST 00005 // Discrete System Simulation in C++ 00006 // 00007 // Author: Andras Varga, 2003 00008 // Dept. of Electrical and Computer Systems Engineering, 00009 // Monash University, Melbourne, Australia 00010 // 00011 //========================================================================= 00012 00013 /*--------------------------------------------------------------* 00014 Copyright (C) 2003-2008 Andras Varga 00015 Copyright (C) 2006-2008 OpenSim Ltd. 00016 00017 This file is distributed WITHOUT ANY WARRANTY. See the file 00018 `license' for details on this and other legal matters. 00019 *--------------------------------------------------------------*/ 00020 00021 #ifndef __CRECEIVEDEXCEPTION_H__ 00022 #define __CRECEIVEDEXCEPTION_H__ 00023 00024 #include "cexception.h" 00025 00026 NAMESPACE_BEGIN 00027 00033 class cReceivedException : public cException 00034 { 00035 public: 00039 cReceivedException(int sourceProcId, const char *msg); 00040 }; 00041 00048 class cReceivedTerminationException : public cTerminationException 00049 { 00050 public: 00054 cReceivedTerminationException(int sourceProcId, const char *msg); 00055 }; 00056 00057 NAMESPACE_END 00058 00059 00060 #endif 00061 00062 00063