Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86296 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62314 invoked from network); 18 May 2015 17:38:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2015 17:38:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.213.48 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.213.48 mail-yh0-f48.google.com Received: from [209.85.213.48] ([209.85.213.48:36026] helo=mail-yh0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/44-24313-6932A555 for ; Mon, 18 May 2015 13:38:31 -0400 Received: by yhrr66 with SMTP id r66so53253522yhr.3 for ; Mon, 18 May 2015 10:38:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=pqqdVHR9AsySCKuM5CYYrlDDXV0ZjuAuyBdF04q9450=; b=Yei8/jB8tRYg27789oSnNw6368KDsKV69XUpTqPkIlfkuzZK5+D++4+xxtAV/NW0qY xC8Y4oMtPFHCK7B/MSmdlmUoIlaMaQszxDpleLVRnX7nwhq/Mjsxknxm55cHpxUbWfun dE8xOMazVB7+mM8Hs39gyIvppyuvFHtJ/Vnup4r25l9hcZj0HuP5y/k/xDW/P4wZ1MLr niZY6qfnku3NNnEC7yqs9tMd2N7qBnU40S5Co1NbDgbUIUpkD93keYTi4LM0UCjaxhlC jxfdvTdgATb2BzBLkN13VnQv1cRx5m11MySfXWFn4Fx0ussLzrOk+FfaCyC+43zdpqsH tLiA== X-Gm-Message-State: ALoCoQnhCsfwzAswny/We4O97vEKQhHkIfbyOPcR/Q3GEkLcbKPBJxKy2Ukmw7tQ7uTDu2MnF+AD MIME-Version: 1.0 X-Received: by 10.236.227.198 with SMTP id d66mr23268023yhq.111.1431970707399; Mon, 18 May 2015 10:38:27 -0700 (PDT) Received: by 10.129.108.75 with HTTP; Mon, 18 May 2015 10:38:27 -0700 (PDT) X-Originating-IP: [89.242.229.174] In-Reply-To: References: <554D8F4D.9020903@gmail.com> <554D90CC.3040607@php.net> <5552E3EB.5010800@gmail.com> <5552E494.5070401@php.net> <5552FF58.8070807@php.net> <55575DCF.50801@gmail.com> <55578C61.3040408@gmail.com> <555796C0.2020002@gmail.com> <5557A5C6.5050701@gmail.com> <877A3955-C72C-4DB0-9B4D-E2891EE55095@gmail.com> Date: Mon, 18 May 2015 17:38:27 +0000 Message-ID: To: Levi Morrison Cc: Rowan Collins , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: danack@basereality.com (Dan Ackroyd) On 18 May 2015 at 15:39, Levi Morrison wrote: > > I wouldn't group > TypeException in the same subtree as ParseException, for instance. One > happens at compile time and the other at run time, which means the > intent in what you catch is probably quite different. TypeException is also different the other EngineExceptions, as it's an exception that people will want to throw from their own code instead of having a separate UserLandTypeException. Except for testing, people shouldn't be throwing ParseException or other EngineExceptions from their code. cheers Dan