[haiku-bugs] Re: [Haiku] #7901: [patch] BLocale: B_ERROR gets returned from methods in the BLocale class ambiguously

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 30 Oct 2011 16:22:49 -0000

#7901: [patch] BLocale: B_ERROR gets returned from methods in the BLocale class
ambiguously
-------------------------------+----------------------------
   Reporter:  jscipione        |      Owner:  pulkomandy
       Type:  enhancement      |     Status:  new
   Priority:  normal           |  Milestone:  Unscheduled
  Component:  Kits/Locale Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by pulkomandy):

 I'd rather use B_BAD_DATA when the error comes from ICU side, as this
 likely means wrong input to it, and keep B_ERROR, for lack of a better
 one, if the locking fails (for lack of proper error handling in BAutolock)

 what about that ?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7901#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: