A time saver message error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A time saver message error

Sebastián Sastre
Hi OA team,

    it would be great save of time to print out the resource name when this
error happens  while stripping:
ResourceIdentifier>>resource

"Answer the resource represented by the receiver. If the receiver is not
recognized by the ResourceManager

an error is raised."

^SessionManager current resourceManager

resourceAt: self ifAbsent: [self error: 'no such resource: ', self
printString]



    best regards,


--
Sebastián Sastre
[hidden email]
www.seaswork.com.ar


Reply | Threaded
Open this post in threaded view
|

Re: A time saver message error

Blair McGlashan
"Sebastian Sastre" <[hidden email]> wrote in message
news:bpl738$1q79aj$[hidden email]...
> Hi OA team,
>
>     it would be great save of time to print out the resource name when
this

> error happens  while stripping:
> ResourceIdentifier>>resource
>
> "Answer the resource represented by the receiver. If the receiver is not
> recognized by the ResourceManager
>
> an error is raised."
>
> ^SessionManager current resourceManager
>
> resourceAt: self ifAbsent: [self error: 'no such resource: ', self
> printString]

It shall be so in Patch Level 3 (#1404).

Thanks

Blair