Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8412

Re: Bug, feature or just accidental?

From boltar2003@boltar.world
Newsgroups comp.lang.c++
Subject Re: Bug, feature or just accidental?
Date 2011-08-02 13:23 +0000
Organization Aioe.org NNTP Server
Message-ID <j18tom$14a$1@speranza.aioe.org> (permalink)
References (5 earlier) <99q2kbFaa6U8@mid.individual.net> <j18maj$ea1$1@speranza.aioe.org> <j18pcq$c4$1@dont-email.me> <j18r7r$qjd$1@speranza.aioe.org> <j18sc9$j6e$1@dont-email.me>

Show all headers | View raw


On Tue, 02 Aug 2011 08:59:52 -0400
Victor Bazarov <v.bazarov@comcast.invalid> wrote:
>> Perhaps you have a database error and wish to through the error number along
>> with the table and column names. There are a million other examples.
>
>What you throw is an exception *object*.  You shouldn't need to *throw* 
>an error number or the table and column *names*.  Those should be the 
>data you stuff in your database exception object.

Congratulations on completely missing my point. Using that logic perhaps 
function calls should only allow one function call parameter then? Want to 
pass 2 or more? Just stuff them into a parameter object. Whats the problem?

>You have to because such is the design of the language.  If you don't 

No shit. Any more stunning revelations from you coming soon? I was simply
commenting on how it was a missing opportunity.

B2003

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 08:49 +0000
  Re: Bug, feature or just accidental? Ian Collins <ian-news@hotmail.com> - 2011-08-02 20:55 +1200
    Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 10:21 +0000
      Re: Bug, feature or just accidental? Miles Bader <miles@gnu.org> - 2011-08-02 19:29 +0900
        Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 10:35 +0000
          Re: Bug, feature or just accidental? Ian Collins <ian-news@hotmail.com> - 2011-08-02 22:42 +1200
            Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 11:16 +0000
              Re: Bug, feature or just accidental? Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-02 08:08 -0400
                Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 12:40 +0000
                Re: Bug, feature or just accidental? Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-02 08:59 -0400
                Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 13:23 +0000
                Re: Bug, feature or just accidental? Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-02 09:43 -0400
                Re: Bug, feature or just accidental? boltar2003@boltar.world - 2011-08-02 13:53 +0000
                Re: Bug, feature or just accidental? James Lothian <james@firstnamelastname.freeserve.co.uk> - 2011-08-03 07:49 +0100
                Re: Bug, feature or just accidental? "Paul" <pchristor@yahoo.co.uk> - 2011-08-03 10:47 +0100
                Re: Bug, feature or just accidental? Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-02 15:43 -0500
              Re: Bug, feature or just accidental? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-08-02 16:12 +0000
      Re: Bug, feature or just accidental? Ian Collins <ian-news@hotmail.com> - 2011-08-02 22:32 +1200

csiph-web