Boost logo

Boost :

From: Marshall Clow (marshall_at_[hidden])
Date: 2006-08-23 10:53:12

At 10:32 PM +1000 8/23/06, Martin Slater wrote:
I wrote:
> >[ Note that this is not a rejection of Unicode, but rather a separation of
>>the error being detected and thrown and the creation of an error message ]
> >
> >
> >
>Absolutely agree with this but one use case for unicode is attaching the
>possibly unicode filename of a failing file operation.

Yes, that's a good case.
But, you've already got some object/data structure that describes the
file, right?
[ A path, or something ]

Attach _that_ to the exception, and Bob's your uncle.

Personally, I think that the ".what ()" field in the exception is an
No one is going to show that string to end users.

-- Marshall
Marshall Clow     Idio Software   <mailto:marshall_at_[hidden]>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

Boost list run by bdawes at, gregod at, cpdaniel at, john at