//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project/CC
//
//File: ccostate_exception.h
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/06/11 15:29:34 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//     Function: default handling of the exception condition is being provided
//     This includes general actions necassary to ensure no resources
//     remain inappropriately allocated.
//     NOTE: Resource release functionality moved to null state.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//      
//Licence:
//     
//
//History:
//


#ifndef __CC_O_STATE_EXEPTION_H__
#define __CC_O_STATE_EXEPTION_H__

#include "ccostate.h"

class ccOstateException : public ccOstate
{
    public:
        static ccOstateException *instance(void);

        void proceed(ccProtocol *protocol_);
        
    protected:
        ccOstateException(void);
        virtual ~ccOstateException(void);
        
    private:
        static ccOstateException *_only;
};

#endif // __CC_O_STATE_EXEPTION_H__
