Select to view content in your preferred language

Trap Error: E0005E: Invalid tile service:

2276
0
03-06-2012 12:45 PM
SilviaPetcu
Emerging Contributor
Hi,
Is there a way to trap the error 'Error: E0005E: Invalid tile service: xxxxxxxx' ? This error occurs when the layer type is ArcGISTiledMapServiceLayer but the actual url does not point to a tile map.
I've tried to use the loadError event as well as to add programmatically the layer in a try catch structure.
When using loadError I can see my custom message, but I still get the ActionScript error message which I do not want.

Thank you,
SP
Tags (2)
0 Kudos
0 Replies