From 456010f03f7126e28b0b5998cfb5f9c33a744c8a Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 12 Nov 2000 14:54:25 +0000 Subject: [PATCH] added Exception to throws clause for the destructor and assignment operator --- darkice/trunk/src/Sink.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/darkice/trunk/src/Sink.h b/darkice/trunk/src/Sink.h index 96b661f..fac29e6 100644 --- a/darkice/trunk/src/Sink.h +++ b/darkice/trunk/src/Sink.h @@ -84,9 +84,10 @@ class Sink : public virtual Referable * * @param sink the Sink to assign this to. * @return a reference to this Sink. + * @exception Exception */ inline virtual Sink & - operator= ( const Sink & sink ) throw () + operator= ( const Sink & sink ) throw ( Exception ) { return *this; } @@ -96,9 +97,11 @@ class Sink : public virtual Referable /** * Destructor. + * + * @exception Exception */ inline virtual - ~Sink ( void ) throw () + ~Sink ( void ) throw ( Exception ) { } @@ -178,6 +181,9 @@ class Sink : public virtual Referable $Source$ $Log$ + Revision 1.4 2000/11/12 14:54:25 darkeye + added Exception to throws clause for the destructor and assignment operator + Revision 1.3 2000/11/12 13:31:16 darkeye minor change in documentation