Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@apache.org Received: (qmail 48079 invoked from network); 24 Apr 2002 15:56:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Apr 2002 15:56:14 -0000 Received: (qmail 10880 invoked by uid 97); 24 Apr 2002 15:56:15 -0000 Delivered-To: qmlist-jakarta-archive-avalon-dev@jakarta.apache.org Received: (qmail 10864 invoked by uid 97); 24 Apr 2002 15:56:14 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 10852 invoked from network); 24 Apr 2002 15:56:14 -0000 Message-ID: <413D422BB635D11197D200600814DE36151C53@EBP-SERVER> From: Ole Bulbuk To: 'Avalon Developers List' Subject: AW: Do you *really* not need localized exceptions? Date: Wed, 24 Apr 2002 17:55:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephen, thank you for you support and Berin, thank you for the translation. :-)) > An observation: it is > perhaps better > to do the establishment of internationalization of the > message directly > in the classes CascadingException and CascadingRuntimeException. This > fact I agree in general with your proposal. Putting internationalization directly into CascadingException would force internationalization on everybody and could break the interface (a constructor taking a String wouldn't make sense). That is why I suggested an additional base exception that extends CascadingException. RuntimeExceptions are to be read only by developers. So they could write the message in any language they like. Of course they should take into account other developers too. But they needn't consider administrators or users. So I don't know a reason to make an internationalized version of CascadingRuntimeException. If something as bad as an Error occurs IMHO nobody will bother about i18n (since this could produce further exceptions and errors). So making an internationalized version of CascadingError could be a waste of time too. Regards, Ole -- Ole Bulbuk Tel.: 0331/74759/60 Ernst Basler + Partner Fax: 0331/74759/90 Tuchmacherstr. 47 E-Mail: mailto:ob@ebp.de 14482 Potsdam WWW: http://www.ebp.de -- To unsubscribe, e-mail: For additional commands, e-mail: