Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16211 invoked from network); 30 Mar 2015 18:34:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2015 18:34:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=dev@mabe.berlin; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dev@mabe.berlin; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mabe.berlin from 80.237.132.167 cause and error) X-PHP-List-Original-Sender: dev@mabe.berlin X-Host-Fingerprint: 80.237.132.167 wp160.webpack.hosteurope.de Received: from [80.237.132.167] ([80.237.132.167:35661] helo=wp160.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/F0-08309-14799155 for ; Mon, 30 Mar 2015 13:34:45 -0500 Received: from dslb-178-008-022-206.178.008.pools.vodafone-ip.de ([178.8.22.206] helo=[192.168.178.30]); authenticated by wp160.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1YceWD-0007mZ-KG; Mon, 30 Mar 2015 20:34:37 +0200 Message-ID: <5519973C.3010803@mabe.berlin> Date: Mon, 30 Mar 2015 20:34:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;dev@mabe.berlin;1427740485;4ff44f38; Subject: Re: [PHP-DEV] Exception hierarchy: open issues From: dev@mabe.berlin (Marc Bennewitz) Am 30.03.2015 um 12:58 schrieb Thomas Punt: > Hey, > >> Imho TypeException may not be best name for >> it, as it's also thrown for non-type related error conditions, like >> mismatched argument count. > Would SignatureException be a more apt name for these error conditions? We already have an InvalidArgumentException but this one extends LogicException extends Exception > > -Tom