Source: data-flow/include/FlowException.h


Annotated List
Files
Globals
Hierarchy
Index
// Copyright (C) 1999 Jean-Marc Valin

#ifndef _FLOW_EXCEPTION_H
#define _FLOW_EXCEPTION_H

#include "Object.h"
#include "ObjectRef.h"

class FlowException : public Object {
  protected:
   ObjectRef thrown;
  public:
   FlowException(ObjectRef _thrown)
      : thrown(_thrown)
      {}
   ObjectRef getObject()
   {
      return thrown;
   }

   void printOn(ostream &out=cout) const
   {
      out << "<FlowException " << thrown << " >";
   }
};

#endif /* ifdef _FLOW_EXCEPTION_H */

Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.