|
|
// Copyright (C) 2001 Jean-Marc Valin #ifndef EXCEPTION_OBJECT_H #define EXCEPTION_OBJECT_H class ExceptionObject : public Object { BaseException *e; public: ExceptionObject(BaseException *_e) : e(_e) { } void doThrow() { throw e; } void printOn(ostream &out) const { e->print(out); } }; #endif
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40. |