From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3048 invoked by alias); 16 Jan 2003 17:16:56 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 2695 invoked from network); 16 Jan 2003 17:14:52 -0000 Received: from unknown (HELO harrier.mail.pas.earthlink.net) (207.217.120.12) by sources.redhat.com with SMTP; 16 Jan 2003 17:14:52 -0000 Received: from waldorf.psp.pas.earthlink.net ([207.217.78.20]) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18ZDbO-0002G9-00 for gcc-help@gcc.gnu.org; Thu, 16 Jan 2003 09:14:50 -0800 Received: (from nobody@localhost) by waldorf.psp.pas.earthlink.net (8.11.6+Sun/8.10.2) id h0GHEns07886 for gcc-help@gcc.gnu.org; Thu, 16 Jan 2003 09:14:49 -0800 (PST) Date: Thu, 16 Jan 2003 17:16:00 -0000 From: "Ryan Cuprak" To: gcc-help@gcc.gnu.org Reply-To: rcuprak@acm.org Subject: Exception Handling Message-ID: X-Originating-IP: 165.170.128.66 X-SW-Source: 2003-01/txt/msg00138.txt.bz2 Hello, Is it safe to throw an exception as such: throw new MyException ( "method","class","message); and then catch it as: try { } catch ( MyException *e ) { //-- do something delete e; } I am just looking for some guidelines on exceptions. In doing google searches for info, I came across an email stating that the implementation of exceptions varies by compiler in that some runtime systems do a binary copy of the exception and then pass it to the catch etc. Thanks, Ryan