added Exception to throws clause for the destructor and assignment operator

This commit is contained in:
darkeye 2000-11-12 14:54:25 +00:00
parent 8b319e8584
commit 456010f03f
1 changed files with 8 additions and 2 deletions

View File

@ -84,9 +84,10 @@ class Sink : public virtual Referable
* *
* @param sink the Sink to assign this to. * @param sink the Sink to assign this to.
* @return a reference to this Sink. * @return a reference to this Sink.
* @exception Exception
*/ */
inline virtual Sink & inline virtual Sink &
operator= ( const Sink & sink ) throw () operator= ( const Sink & sink ) throw ( Exception )
{ {
return *this; return *this;
} }
@ -96,9 +97,11 @@ class Sink : public virtual Referable
/** /**
* Destructor. * Destructor.
*
* @exception Exception
*/ */
inline virtual inline virtual
~Sink ( void ) throw () ~Sink ( void ) throw ( Exception )
{ {
} }
@ -178,6 +181,9 @@ class Sink : public virtual Referable
$Source$ $Source$
$Log$ $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 Revision 1.3 2000/11/12 13:31:16 darkeye
minor change in documentation minor change in documentation