Oz and Mozart Hackers Mailing List

Re: Bug in Space.askVerbose?


From: Christian Schulte (schulte@ps.uni-sb.de)
Date: Fri Nov 02 2001 - 15:30:37 CET


Prinintg is okay, raising an exception will be as hard as fixing.

CS

"Luis Quesada" <luque@info.ucl.ac.be> schrieb im Newsbeitrag
news:<3BE292C7.655BE60B@info.ucl.ac.be>...
> Luis Quesada wrote:
>
> >
> > Ok. Why not print a error message [...]?
>
> Rather than just printing an error message, what I suggest is to raise

> an exception. In that way, the or in my example will fail (because I
> am doing the not supported operation in both clauses) but the user
> will (at least) know that this is because he is locally turning a
> global variable into a finite domain one.
>
> Luis
>
> --
> Catholic University of Louvain
> Department of Computing Science and Engineering
> Place Sainte Barbe, 2
> B-1348 Louvain-la-Neuve, Belgium
> Phone: (++32) (10) 47 90 13
> Fax: (++32) (10) 45 03 45
> E-mail: luque@info.ucl.ac.be
>
>
>
> -
> Please send submissions to hackers@mozart-oz.org
> and administriva mail to hackers-request@mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.

-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.