From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a3ca574fc2007430 X-Google-Attributes: gid103376,public From: kst@aonix.com (Keith Thompson) Subject: Re: Ada and Automotive Industry Date: 1996/12/18 Message-ID: #1/1 X-Deja-AN: 204703020 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: <32B197A6.2781E494@escmail.orl.lmco.com> organization: Aonix, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-12-18T00:00:00+00:00 List-Id: In I wrote: > A predefined exception raised "manually" by an explicit raise statement > (or by a call to Ada.Exceptions.Raise_Exception) is semantically no > different than a user-defined exception raised the same way. This doesn't mean that explicitly raising predefined exceptions is necessarily a good idea stylistically. Unless the code you're writing is intended to closely mimic some feature of the language, it's usually clearer to declare and raise your own exception than to raise a predefined one. Some would say that there are far too many possible sources of Constraint_Error already, for example. -- Keith Thompson (The_Other_Keith) kst@aonix.com <*> TeleSo^H^H^H^H^H^H Alsy^H^H^H^H Thomson Softw^H^H^H^H^H^H^H^H^H^H^H^H^H Aonix 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706 "SPOON!" -- The Tick