# creceivedexception.h

    00001 //=========================================================================
    00002 //  CRECEIVEDEXCEPTION.H - part of
    00003 //
    00004 //                  OMNeT++/OMNEST
    00005 //           Discrete System Simulation in C++
    00006 //
    00007 //   Written by:  Andras Varga, 2003
    00008 //
    00009 //=========================================================================
    00010
    00011 /*--------------------------------------------------------------*
    00012   Copyright (C) 2003-2005 Andras Varga
    00013   Monash University, Dept. of Electrical and Computer Systems Eng.
    00014   Melbourne, Australia
    00015
    00016   This file is distributed WITHOUT ANY WARRANTY. See the file
    00017   `license' for details on this and other legal matters.
    00018 *--------------------------------------------------------------*/
    00019
    00020 #ifndef __CRECEIVEDEXCEPTION_H__
    00021 #define __CRECEIVEDEXCEPTION_H__
    00022
    00023 #include "cexception.h"
    00024
    00030 class cReceivedException : public cException
    00031 {
    00032   public:
    00036     cReceivedException(int sourceProcId, const char *msg);
    00037 };
    00038
    00045 class cReceivedTerminationException : public cTerminationException
    00046 {
    00047   public:
    00051     cReceivedTerminationException(int sourceProcId, const char *msg);
    00052 };
    00053
    00054 #endif
    00055
    00056
    00057