Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

FlowException.h

00001 // Copyright (C) 1999 Jean-Marc Valin
00002 
00003 #ifndef _FLOW_EXCEPTION_H
00004 #define _FLOW_EXCEPTION_H
00005 
00006 #include "Object.h"
00007 #include "ObjectRef.h"
00008 
00009 namespace FD {
00010 
00011 class FlowException : public Object {
00012   protected:
00013    ObjectRef thrown;
00014   public:
00015    FlowException(ObjectRef _thrown)
00016       : thrown(_thrown)
00017       {}
00018    ObjectRef getObject()
00019    {
00020       return thrown;
00021    }
00022 
00023    void printOn(std::ostream &out=std::cout) const
00024    {
00025       out << "<FlowException " << thrown << " >";
00026    }
00027 };
00028 
00029 }//namespace FD
00030 
00031 #endif /* ifdef _FLOW_EXCEPTION_H */

Generated on Wed Oct 5 14:28:55 2005 for FlowDesigner by  doxygen 1.4.4