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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9ce095aba33fe8d0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!195.92.193.196.MISMATCH!nntp.theplanet.net!inewsm1.nntp.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Negative float problem Date: Thu, 03 Nov 2005 20:59:22 +0000 Organization: Pushface Message-ID: References: <1130351574.313991.229420@g14g2000cwa.googlegroups.com> <10mspnley7gzu$.1swtj67sv0ldr$.dlg@40tude.net> <38tcpxwxfigo$.18ysjyp9ml92c$.dlg@40tude.net> <2ybc7t4au7g$.166dxwfrds1so$.dlg@40tude.net> <18nrnlg9zzl5a.k8rl3ajwauqi.dlg@40tude.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1131051561 3207 62.49.19.209 (3 Nov 2005 20:59:21 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 3 Nov 2005 20:59:21 +0000 (UTC) Cancel-Lock: sha1:2msSjZ0PKrEYxhBeBL5+R7asnnU= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:6159 Date: 2005-11-03T20:59:22+00:00 List-Id: Maciej Sobczak writes: > I'm writing a library subroutine and in this subroutine I raise an > exception. > Question: can I be sure that the exception will be handled? In other > words: can I be sure that not handling of this exception will be > detected by the language run-time and reported as error? But this is not your problem -- it's up to the user (or the tech lead who decides to use your library) to be sure that it's used correctly, and that includes catching any exceptions you may raise.