bool aMethod() { CountedPointer<Mutex> p = new Mutex() ;
if ( condition ) throw Exception() ; // no problemo! else return false ; }