View Single Post
  #3 (permalink)  
Old 02-28-2003
marlowa marlowa is offline
Registered User
 
 
Join Date: Feb 2003
Location: London
Posts: 64
Quote:
Originally posted by marc
NotRegisteredException ex(__FILE__, __LINE__);
ex.kindOfObject = "user exception factory";
ex.id = id;
throw ex;

I don't see anything wrong with this code. An explicit copy constructor for NotRegisteredException is not necessary, because the constructor that the C++ compiler must create by default is perfectly ok for this.
In that case it looks like Forte requires an explicit copy ctor. Perhaps it shouldn't but it does.

-apm
__________________
You are in a maze of twisty little passages, all different.
Reply With Quote