Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28108 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13810 invoked by uid 1010); 21 Feb 2007 08:54:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13795 invoked from network); 21 Feb 2007 08:54:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2007 08:54:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 83.97.120.59 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 83.97.120.59 unknown Received: from [83.97.120.59] ([83.97.120.59:55035] helo=safetwo.sceur.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/42-25581-BC80CD54 for ; Wed, 21 Feb 2007 03:54:35 -0500 Received: from [127.0.0.1] (unknown [217.193.145.242]) by safetwo.sceur.ch (Postfix) with ESMTP id 6BBBF39E7 for ; Wed, 21 Feb 2007 08:54:32 +0000 (UTC) Message-ID: <45DC08BA.6000203@pooteeweet.org> Date: Wed, 21 Feb 2007 09:54:18 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: setters in the Exception class? From: mls@pooteeweet.org (Lukas Kahwe Smith) Hello, I am consuming some Java provide webservices. In some cases we get SOAPFault instances, that I would like to massage a bit, since I do not like the structure or format in the generated SOAPFault (for example it does not set the error code properly). However since there are no setters, I have to create a new Exception instance. So I am wondering if it makes sense to add some setters to the default Exception class to make this sort of thing possible without creating a new Exception instance ..? regards, Lukas