|
|
|
|||||
|
Exceptions and the ice_throw function
Why do Ice exceptions have an ice_throw method? And why is it sometimes used and sometimes not? I found that on Solaris using the Forte compiler the file UserExceptionFactorymanager.cpp fails to compile because the exception NotRegisteredException is thrown using the throw statement. Changing this to ex.ice_throw() makes it compile. Can someone please explain this to me? I think it is to do with the lack of a copy ctor on the exception class and the fact that ice_throw() is a const method. Have I found a bug in UserExceptionFactorymanager.cpp?
Regards, Andrew
__________________
You are in a maze of twisty little passages, all different. |
|
|||||
|
Quote:
-apm
__________________
You are in a maze of twisty little passages, all different. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C# exceptions | wrobbie | Help Center | 7 | 09-25-2005 07:03 PM |
| Catching Exceptions | chuatecksiong | Help Center | 3 | 04-06-2005 01:02 PM |
| Exceptions cannot be unmarshalled on client | robert | Bug Reports | 4 | 10-17-2004 11:46 PM |
| Classes vs. Exceptions | andreynech | Comments | 7 | 02-28-2003 10:12 AM |