Error msg // on open of busy file
Ernesto Giannotta
erne at apimac.com
Mon Feb 28 04:04:49 CST 2011
On 28-feb-2011, at 08:38, Ruslan Zasukhin wrote:
> On 2/28/11 2:56 AM, "Ernesto Giannotta" <erne at apimac.com> wrote:
>
>>>> BTW why you set the name and not the reason with this info?
>>>
>>
>> talk about the NSException object that Vale raises.
>> It contains
>
>> name = File "Untitled Notes.notepad" cannot be opened because it is used by
>> another application.
>> reason = ErrorNumber:0x59501
>
>
>
> -------------
>> I'd expect to find the more user friendly message into reason rather than
>> name.
>
> For example ?
>
the inverse:
NSException* myException = [NSException
exceptionWithName:@"ErrorNumber:0x59501"
reason:@"File "Untitled Notes.notepad" cannot be opened because it is used by another application."
userInfo:nil];
>> From the NSException docs:
>>
>> name
>> Returns an NSString object used to uniquely identify the receiver.
>>
>> reason
>> Returns an NSString object containing a “human-readable” reason for the
>> receiver.
>>
>> userInfo
>> Returns an NSDictionary object containing application-specific data pertaining
>> to the receiver.
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list